This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: cannot do make install on source
- To: gnu-win32 at cygnus dot com
- Subject: Re: cannot do make install on source
- From: covici at ccs dot covici dot com (John Covici)
- Date: Mon, 14 Sep 1998 07:55:28 -0400
- Newsgroups: gnu-win32
- Organization: Covici Computer systems
- References: <199809141026.KAA03595@rushey.Pedal>
- Reply-To: covici at ccs dot covici 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.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".