This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Mathematical Functions
- From: Stephen Powell <me at privacy dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 03 May 2002 16:16:56 +1000
- Subject: Re: Mathematical Functions
- Cancel-lock: sha1:tY9lpL8NcKcBMnXeT60Ulqakrzs=
- Newsgroups: gmane.os.cygwin
- Organization: Hail Eris!
- References: <CEB144BF16CCD2118F4800805FE6A25302BD5E87@NPRI54EXC07.NPT.N UWC.NAVY.MIL><5.1.0.14.2.20020502101039.02752af0@pop3.cris.com>
- Reply-to: Stephen_Powell at optusnet dot com dot au
>>>>> "Randall" == Randall R Schulz <rrschulz@cris.com> writes:
[...]
> Secondly, the reason I/O redirection didn't capture the
> compiler's error messages is that errors are sent to the
> "standard error" output, which requires a variant redirection
> syntax:
> BASH & ash:
[...]
> commandThatProducesErrorMessages >allOutput 2>&1
In BASH you can also use &> to redirect standard output and standard
error to the same place. I find this easier to type. See the BASH
man page section titled /REDIRECTION/.
commandThatProducesErrorMessages &>allOutput
--
Stephen Powell
stephen_powell@optusnet.com.au
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/