devops-exercises/scripts/count_questions.sh
2019-10-30 21:31:25 +02:00

5 lines
109 B
Bash
Executable File

#!/bin/bash
# 6 is the number of scenario questions.
expr 6 + $(cat README.md | grep \<\/summary\> | wc -l)