Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Stephen Powell Newsgroups: gmane.os.cygwin Subject: Re: Mathematical Functions Date: Fri, 03 May 2002 16:16:56 +1000 Organization: Hail Eris! Lines: 24 Message-ID: References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020502101039 DOT 02752af0 AT pop3 DOT cris DOT com> Reply-To: Stephen_Powell AT optusnet DOT com DOT au NNTP-Posting-Host: sdcax80-a112.dialup.optusnet.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020500997 1745 211.28.7.112 (4 May 2002 08:29:57 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Sat, 4 May 2002 08:29:57 +0000 (UTC) X-Posting-Agent: Hamster/1.3.23.3 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-mingw-nt5.0.2195) Cancel-Lock: sha1:tY9lpL8NcKcBMnXeT60Ulqakrzs= >>>>> "Randall" == Randall R Schulz 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 AT optusnet DOT com DOT 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/