From: Arnaud Giersch Date: Fri, 8 Nov 2019 09:51:57 +0000 (+0100) Subject: Prefer $(...) to backticks. X-Git-Tag: v3.25~444 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c4bf208cb9c81a228bbca8f8deda631a82ec4078 Prefer $(...) to backticks. --- diff --git a/docs/Build.sh b/docs/Build.sh index fcfcd69a05..b934caa4c5 100755 --- a/docs/Build.sh +++ b/docs/Build.sh @@ -70,7 +70,11 @@ do done echo "Undocumented examples:" -for ex in `(cd .. ; find examples/s4u/ -name '*.cpp'; find examples/python -name '*.py')|sort` ; do +for ex in $( (cd .. ; \ + find examples/s4u/ -name '*.cpp'; \ + find examples/python -name '*.py'; \ + ) | sort ) +do if grep -q "example-tab:: $ex" ../examples/README.rst ; then : # echo "found example-tab:: $ex" elif grep -q "showfile:: $ex" ../examples/README.rst ; then :