question counter script improved
This commit is contained in:
parent
f09e3b8549
commit
26da068735
@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/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 \</summary\> -c README.md) ))
|
||||||
|
Loading…
Reference in New Issue
Block a user