Re: error output redirection

2009-10-12 Thread Markiyan Kushnir
George Davidovich already gave an answer. Markiyan Kushnir wrote: what is easily done with tee for stdout cannot be done for stderr. Looks like there is no easy way to make a pipeline using stderr separately from stdout. If you want to watch output of the stderr separately from stdout, you mi

Re: error output redirection

2009-10-12 Thread Markiyan Kushnir
what is easily done with tee for stdout cannot be done for stderr. Looks like there is no easy way to make a pipeline using stderr separately from stdout. If you want to watch output of the stderr separately from stdout, you might manage for it in two consoles: % foo 2>err % tail -f err Ma

Re: error output redirection

2009-10-12 Thread Nerius Landys
> if error output of some program appear on screen, > it is possible to print it also to some file simultaneously ? Since you said "simultaneously", it made me think of the command tee. man tee? ___ freebsd-questions@freebsd.org mailing list http://list

Re: error output redirection

2009-10-11 Thread George Davidovich
On Sun, Oct 11, 2009 at 11:36:52PM +0200, Stefan Miklosovic wrote: > if error output of some program appear on screen, it is possible to > print it also to some file simultaneously? Depends on the program, but generally, yes. http://en.wikipedia.org/wiki/Standard_streams http://en.wikipedia.org/w

Re: error output redirection

2009-10-11 Thread Polytropon
On Sun, 11 Oct 2009 23:36:52 +0200, Stefan Miklosovic wrote: > hi list, > > if error output of some program appear on screen, > it is possible to print it also to some file simultaneously ? > > e.g > if I "cat" file which do not exist, error is on screen, > I want to add that error to some file

error output redirection

2009-10-11 Thread Stefan Miklosovic
hi list, if error output of some program appear on screen, it is possible to print it also to some file simultaneously ? e.g if I "cat" file which do not exist, error is on screen, I want to add that error to some file (errors.txt) thank you ___ freebs