delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3C8F3258.D750E363@iee.org> |
Date: | Wed, 13 Mar 2002 11:04:56 +0000 |
From: | Don Sharp <dwsharp AT iee DOT org> |
X-Mailer: | Mozilla 4.78 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | gnuwin32 <cygwin AT cygwin DOT com> |
Subject: | Re: IO Redirection |
References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0203131135120 DOT 1388-100000 AT domino DOT informatik DOT uni-kl DOT de> <a6nb61$jon$1 AT main DOT gmane DOT org> |
Robert Mark Bram wrote: > > Thanks for the reply! > > > > How do I append error output? > > > How do I append error and standard output? > > > > Just as you have written? > > ">>" appends, ">" write to a new file, independend of the file > > or source selected. That is, "&>>file" appends both. > > > > Why is that not obvious ? > > This is why: > > Robert Mark Bram AT DIJONG ~ > $ ls > errors script1 script2 temp > > Robert Mark Bram AT DIJONG ~ > $ ls &>> temp > bash: syntax error near unexpected token `&>>' try ls >> temp 2>&1 Cheers Don Sharp > > Robert Mark Bram AT DIJONG ~ > $ > > Rob > > -- > 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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |