delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/14/14:28:59

From: covici AT ccs DOT covici DOT com (John Covici)
Subject: Re: cannot do make install on source
14 Sep 1998 14:28:59 -0700 :
Message-ID: <35fd0480.ccs.cygnus.gnu-win32@ccs.covici.com>
References: <199809141026 DOT KAA03595 AT rushey DOT Pedal>
Reply-To: covici AT ccs DOT covici DOT com
To: gnu-win32 AT cygnus DOT com

Thanks for reminding me I usually use a pipe and there the 2>&1 comes
first.

on Mon, 14 Sep 1998 10:26:23 GMT D DOT N DOT J DOT Clarke AT reading DOT ac DOT uk (David Nicholas John Clarke) in
<199809141026 DOT KAA03595 AT rushey DOT Pedal> wrote:
>>
>> The bash command I tried to use for the make was
>>
>> make install 2>&1 >cyg.err
>>
>> but the error output was not redirected.  I have bash 2.01 which is
>> what came with the package.
>>
>
>>From Bash man page (Redirecting output):
>
>       Note  that  the order of redirections is significant.  For
>       example, the command
>
>              ls > dirlist 2>&1
>
>       directs both standard output and  standard  error  to  the
>       file dirlist, while the command
>
>              ls 2>&1 > dirlist
>
>       directs  only the standard output to file dirlist, because
>       the standard  error  was  duplicated  as  standard  output
>       before the standard output was redirected to dirlist.
>
>
>Dave


-- 
         John Covici
          covici AT ccs DOT covici DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019