Thomas Hartman <thomashartman1 at googlemail.com> writes: > thartman at ubuntu:~/patch-tag-dev>darcs changes | wc -l I'm not sure why you're counting ALL lines, but if you just want the number of patches, darcs changes --count is better than darcs change | grep -c ^[[:upper:]].