Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prefer $(...) to backticks.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 8 Nov 2019 09:51:57 +0000 (10:51 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 8 Nov 2019 09:51:57 +0000 (10:51 +0100)
docs/Build.sh

index fcfcd69..b934caa 100755 (executable)
@@ -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 :