Cvs update output is bad, use it with grep

From Andreida

One way

cvs status $1 2>&1 | grep Status: | grep -v Up-to-date

Other way

This works of course only for the english language, so perhaps you'll have to change it. (-n -> don't do anyting)

cat cvsupdate

#!/bin/bash
cvs -n up 2>&1| grep -v 'cvs update: Updating'

To do this for some dirs at once:

cat cvsupdate-all

#!/bin/bash
for file in ~/work/Pr*
    do
        cd $file
        #pwd
        cvsupdate
done

example to do cvs up for some dirs at once and do some stuff or each dir and do some stuff afterwards:

cat cvs-up-all

#!/bin/bash
for file in ~/work/Pr*
    do
        cd $file
        pwd
        cvs update -dP
        make develop
done

createxml