CVS Tips and some tricks
Module listing
This will leverage cvsnt's rls command to make a simple listing of the REAL modules in each module listed in the modules file. The rls does a good job but needs a little cleaning. This allows you to use modules with out worrying about dependencies.
cvs -z9 rls $modulename > module.list.txt 2>&1
grep -E "^Listing" module.list.txt | awk '{ print $3}'
$modulename is a name of a module in the CVSROOT/modules file. You need to capture the stderr and stdout ( 2>&1 ) at the end of the first line. Then just look for the "Listing" line and use awk to cleanse it to a single entry.
Tags:
cvs rlog -h module | sed 's/^[ \t]*//' | sed '/^tagname/!d' | sed 's/:.*$//' | sort -u > filename
If you replace module, tagname and filename in the above command you will get a list of only the tags that start with tagname.
