[EMAIL PROTECTED] wrote:
> If you run:
>    cvs history -c -a -l | awk '{sub(/[/].*/,"",$8); print $8;}' | sort -u

> You will get the list of top-level directories in your CVS repo
> (assuming of course that you have "awk" and a POSIX-ish "sort"
> on hand.

[ following up to my own post ]

I should perhaps mention here that the "awk" and "sort" portions
aren't required to find the top-level directories; they are
required to eliminate the verbose directory structure listed
under the top-level directories.

    cvs history -c -a -l

will get you all the projects from the top level, and more.

Andrew.

_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Reply via email to