mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
13 lines
456 B
Bash
Executable file
13 lines
456 B
Bash
Executable file
#!/bin/sh
|
|
|
|
printf "C++: %5d\n" $(ls *.t.cpp | wc -l)
|
|
printf "Python: %5d\n" $(head -n1 *.t | grep -a '\bpython' | wc -l)
|
|
printf "Perl: %5d\n" $(head -n1 *.t | grep -a '\bperl\b' | wc -l)
|
|
if [ "$1" = "-v" ]; then
|
|
echo -n "Perl left: "; echo $(grep -l '^#\! \?/usr/bin/env perl\b' *.t)
|
|
fi
|
|
echo
|
|
printf "Feature %5d\n" $(ls feature.*.t | wc -l)
|
|
printf "Bug %5d\n" $(ls {tw-,bug.}*.t | wc -l)
|
|
echo
|
|
printf "Total: %5d\n" $(ls *.t | wc -l)
|