Skip to content

Commit 62e8531

Browse files
Add simple script to count lab status per tier (#584)
Signed-off-by: David A. Wheeler <[email protected]>
1 parent 8cd6b13 commit 62e8531

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/labs/count-tiers

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
echo 'Per tier here is done; planned and assigned; planned and unassigned:'
4+
5+
for tier in 0 1 2; do
6+
printf "$tier:\n"
7+
for status in "DONE-$tier" \
8+
"PLANNED-$tier.*\)$" "PLANNED-$tier.*UNASSIGNED" ; do
9+
printf ' %d\n' $(grep -E -- "$status" < README.md | wc -l)
10+
done
11+
done

0 commit comments

Comments
 (0)