3 cd $(dirname $0)/../../
7 # -R -- we want to search recursively
8 # -l -- only filenames, nothing else
9 # $1 -- argument to this script, name of the routing model (e.g., "Floyd")
10 # . -- search in the examples folder and search EVERYTHING
11 # --include -- but only include results that end in ".xml"
12 grep -R -l "$1" examples/ --include "*.xml" | sort