Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / tools / doxygen / list_routing_models_examples.sh
index 7bc3b5e..a239337 100755 (executable)
@@ -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