From: short <> Date: Tue, 27 Nov 2001 23:39:39 +0000 (+0000) Subject: functions cvs{diff,update}{,i} fixed - "cat" filter -> really "pipebuf" filter X-Git-Tag: rh72~2 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=d61c86fd67cecf7dac1e82bf6f826f341a794bc1 functions cvs{diff,update}{,i} fixed - "cat" filter -> really "pipebuf" filter - probably some experiment mistake as it appeared "cat" would be enough --- diff --git a/.bashrc b/.bashrc index 1b84bed..e7071ab 100644 --- a/.bashrc +++ b/.bashrc @@ -58,10 +58,10 @@ export GREP_OPTIONS="--binary-files=without-match --directories=skip" # even when LANG is set to "en_US" it is lethal - strcoll() starts to sort case-insensitively! unset LANG -function cvsdiff { cvs diff "$@" 2>&1|cat |less; }; export -f cvsdiff -function cvsdiffi { cvs diff "$@" 2>&1|grep -v '^?'|less; }; export -f cvsdiffi -function cvsupdate { cvs update "$@" 2>&1|cat |less; }; export -f cvsupdate -function cvsupdatei { cvs update "$@" 2>&1|grep -v '^?'|less; }; export -f cvsupdatei +function cvsdiff { cvs diff "$@" 2>&1|pipebuf -q| less; }; export -f cvsdiff +function cvsdiffi { cvs diff "$@" 2>&1|pipebuf -q|grep -v '^?'|less; }; export -f cvsdiffi +function cvsupdate { cvs update "$@" 2>&1|pipebuf -q| less; }; export -f cvsupdate +function cvsupdatei { cvs update "$@" 2>&1|pipebuf -q|grep -v '^?'|less; }; export -f cvsupdatei function cvsfiles { for i in `find . -name Entries|grep '/CVS/Entries$'`;do j="`echo "$i"|sed 's,CVS/Entries$,,'`"