Skip to content

Commit

Permalink
chore(doc_needed): use recursive find instead of bash globstar
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino authored and jaromil committed Apr 29, 2024
1 parent e226b49 commit ac09cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/doc_needed/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo

# taking all the documented statements till now
echo -n "loading documented statements: ... "
for i in ../_media/examples/zencode_cookbook/**/*.zen; do
for i in `find ../_media/examples/zencode_cookbook/ -name "*.zen" -type f`; do
cat $i \
| sed 's/^[ \t]*//' \
| grep "^Given\|^given\|^If\|^if\|^When\|^when\|^Then\|^then\|^And\|^and" >> documented.txt
Expand Down

0 comments on commit ac09cad

Please sign in to comment.