devops-exercises/scripts/count_questions.sh

4 lines
73 B
Bash
Executable File

#!/bin/bash
echo $((6 + $(cat README.md | grep \<\/summary\> | wc -l)))