#!/bin/sh

if [ "$PROJ" = "" ] ; then
  echo "Environment variavle PROJ not defined..."
  exit
fi

cd $PROJ
if [ $# = 0 ] ; then
  cvs -q up -d -P > cvs_log
else
  cvs -q up $* > cvs_log
fi

grep "^[CUPM] " cvs_log
grep "^\?.*\.[chS]$" cvs_log

