| 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 |
| Date: | Wed, 13 Mar 2002 11:37:53 +0100 (MET) |
| From: | Bjoern Kahl AG Resy <kahl AT informatik DOT uni-kl DOT de> |
| To: | Robert Mark Bram <relaxedrob AT no DOT spam DOT optushome DOT com DOT au> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: IO Redirection |
| In-Reply-To: | <a6n9o4$j21$1@main.gmane.org> |
| Message-ID: | <Pine.GSO.4.44.0203131135120.1388-100000@domino.informatik.uni-kl.de> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |