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 Date: Wed, 13 Mar 2002 11:37:53 +0100 (MET) From: Bjoern Kahl AG Resy To: Robert Mark Bram cc: cygwin AT cygwin DOT com Subject: Re: IO Redirection In-Reply-To: Message-ID: Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hallo! OT, but ... On Wed, 13 Mar 2002, Robert Mark Bram wrote: > Howdy all! > > I have a question about IO redirection. > > > file > redirect standard output to file > 2> file > redirect error output to file > &> file > redirect error and standard output to file > >> file > append standard output to file > > 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 ? Bjoern -- +---------------------------------------------------------------------+ | Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) | | Informatics Faculty +++ Building 48 +++ University of Kaiserslautern| | phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de | +---------------------------------------------------------------------+ -- 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/