gabriel wrote:
when i run a program like "ls" the output is to STDOUT so i can pipe it or redirect it through something like sed or grep. but cvs doesn't do that. if i run "cvs update > /dev/null" or "cvs update | sed -e 's/<expression>/yyy/'" it still prints the same thing it always does. how do i capture this information?

'>' redirects only STDOUT. If you want to redirect STDERR, you'll need to use '2>'. if you want to suppress all output, you can connect the streams and redirect them to /dev/null:


cvs update > /dev/null 2>&1

see man bash for further help.

bye, Christoph


-- [EMAIL PROTECTED] mailing list



Reply via email to