marci-dipterv-latex/src/todo.sh

10 lines
152 B
Bash
Executable File

#!/bin/bash
for i in include content bib; do
grep --color '%*TODO' $i/*
done | if [[ "$@" == "--summary" ]]; then
echo $(wc -l)" Todos"
else
cat
fi