X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/73e4fd1f87d88fd9396f626cdf5cd50692f1d5e1..c73273c8608cc4bb5b684b9a82a5b269014acaba:/tools/doxygen/list_routing_models_examples.sh diff --git a/tools/doxygen/list_routing_models_examples.sh b/tools/doxygen/list_routing_models_examples.sh index 7bc3b5e512..a239337548 100755 --- a/tools/doxygen/list_routing_models_examples.sh +++ b/tools/doxygen/list_routing_models_examples.sh @@ -1,12 +1,14 @@ -#!/bin/sh +#!/usr/bin/env sh cd $(dirname $0)/../../ +export LC_ALL=C + # -R -- we want to search recursively # -l -- only filenames, nothing else # $1 -- argument to this script, name of the routing model (e.g., "Floyd") # . -- search in the examples folder and search EVERYTHING -# --include -- but only include results that end in ".xml" -grep -R -l "$1" examples/ --include "*.xml" +# --include -- but only include results that end in ".xml" +grep -R -l "$1" examples/ --include "*.xml" | sort exit 0