Redirecting standard error

McCunney, Dennis DMcCunney@roper.com
Tue Aug 24 11:37:00 GMT 1999


> -----Original Message-----
> From: Chris Telting [ mailto:telting@sprynet.com ]
> Sent: Tuesday, August 24, 1999 4:49 AM
> To: Cygwin Mailing List
> Subject: Redirecting standard error
> 
> How do you redirect standard error?
> 
> i want to do a make 2>&1 | less

What are you using for your shell?  I believe the 
above should work in bash.  It _won't_ work in 
CMD.EXE or COMMAND.COM, which won't let you
redirect standard error.  The third-party
JP software products 4DOS and 4NT _will_ do it,
though the syntax is different.

______
Dennis

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list