1 2 3 4 5 6 7 8 9
if [ a"$1" = adiff ]; then cmd=diff shift else cmd=update fi cvs -z3 -d :pserver:[email protected]:/cvsroot/libvncserver $cmd "$@"