Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'cmake-no-doc-when-disabled' into 'master'
[simgrid.git] / tools / doxygen / list_routing_models_examples.sh
index 42e529b11cf03d61fc8c21d4ad0bbbd9d738fea9..a239337548780316d000f585cbdbc9c8ac662c3b 100755 (executable)
@@ -2,11 +2,13 @@
 
 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"
+grep -R -l "$1" examples/ --include "*.xml" | sort
 
 exit 0