Re: Request for help - my computer 'bought the farm'
On Sun, May 30, 1999 at 06:06:21PM -0400, Daniel Burrows wrote:
> On Sun, May 30, 1999 at 04:52:42PM -0400, Roland McGrath was heard to say:
> > (Note, btw, that when invoked as sh rather than bash, it doesn't support
> > the ">& file" syntax for stdout+stderr, you must use sh syntax like
> > ">file 2>&1".)
> This is the syntax I was using: debian/rules binary | less 2>&1.
You probably mean "debian/rules binary 2>&1 | less". The 2>&1 will redirect
stderr into the rules stdout, which then goes into the pipe. Your command
was redirecting less's stderr to less's stdout.
--
Adam Sampson
azz@josstix.demon.co.uk
Reply to: