devops-exercises/scripts/count_questions.sh
abregman cf69197a44 The end of one long README
Apparently we've reached the limit of GitHub rendering (512K).
Time to change the structure accordingly - exercises and questions
will move to sub-directories in the exercises directory.

This is the first patch in performing this transition.
2021-11-10 00:55:03 +02:00

4 lines
143 B
Bash
Executable File

#!/usr/bin/env bash
echo $(( $(grep -E "\[Exercise\]|</summary>" -c README.md exercises/*/README.md | awk -F: '{ s+=$2 } END { print s }' )))