chiark / gitweb /
bin: Use 'head -n 1' rather than 'head -1' (_POSIX2_VERSION=200112).
[bin.git] / cvs-list-tags
1 #! /bin/sh
2 # List all the tags available for all files in a CVS working copy.
3 # This is an ugly hack. It should more or less work, though.
4 cvs status -vR 2>/dev/null | \
5         grep '(revision:' | \
6         sed 's/[[:space:]]*\([^[:space:]]*\).*/\1/' | \
7         sort -u