devops-exercises/scripts/count_questions.sh

5 lines
109 B
Bash
Raw Normal View History

#!/bin/bash
2019-10-30 20:30:44 +01:00
# 6 is the number of scenario questions.
expr 6 + $(cat README.md | grep \<\/summary\> | wc -l)