diff --git a/scripts/count_questions.sh b/scripts/count_questions.sh index 25c22c5..43a1ffa 100755 --- a/scripts/count_questions.sh +++ b/scripts/count_questions.sh @@ -1,3 +1,5 @@ #!/bin/bash -echo $((7 + $(cat README.md | grep \<\/summary\> | wc -l))) +# We dont care about non alphanumerics filenames so we just ls | grep to shortern the script. + +echo $(( $(ls ./scenarios/ | grep ".*md" -c) + $(grep \ -c README.md) ))