>>How often do you type the following cvs commands?
>>
>>cvs status | grep Status:
>>cvs status | grep Status: | grep -v Up-to-date

Here's the solution that I use.  It gives the appearance
of adding 3 commands:

        cvs qstatus   quick status (one line per file)
        cvs oodate    out of date files
        cvs ls        directory listing of repository

FWIW,
Mark.

----------------------------------------------------------------
#!/bin/sh
# cvs -- add a few commands to cvs, the hacky way
# feedback to: [EMAIL PROTECTED]

CVS=/aitools/bin/cvs
CVSLS=/aitools/bin/cvsls

if test "$1" = "qstatus"; then
        $CVS status | egrep '^(\?|File:)'
elif test "$1" = "oodate"; then
        ($CVS status | egrep "^(File:)|([?])" | grep -v Up-to-date) 2>&1
|grep -v '^cvs server: Examini'
elif test "$1" = "ls"; then
        shift
        $CVSLS $*
else
        $CVS "$@"
fi
------------------------------------------------------------


--
Mark Harrison                         http://usai.asiainfo.com:8080/
AsiaInfo Computer Networks            [EMAIL PROTECTED]
Beijing, China / Santa Clara, CA      http://www.markharrison.net/


Reply via email to