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 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 X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: gnuwin32 Subject: Re: IO Redirection References: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/