This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cannot do make install on source


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.N.J.Clarke@reading.ac.uk (David Nicholas John Clarke) in
<199809141026.KAA03595@rushey.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@ccs.covici.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]