-----Original Message-----
>From: Chris Devers [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, September 29, 2002 12:05 PM
>To: Michael Frankel; [EMAIL PROTECTED]
>Subject: Re: [Fink-users] Fink selfupdate failed
>
>
>
>   tcsh% fink selfupdate-cvs |& tee ~/fink_selfupdate-cvs
>   tcsh% grep 'no longer in the repository' ~/fink_selfupdate-cvs
>
>Note the '|&' construct -- in the tcsh shell [OSX default], this sends
>both standard output & standard error down the pipe. If you don't capture
>stderr then chances are you won't capture error messages. The same trick
>can be donw in bash/sh but I forget the syntax on that side...

   bash$ fink selfupdate-cvs >fink.log 2>&1

is one easy way to do it. '>' will redirect stdout, '2>' for stderr.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to