This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: IO Redirection
- 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
- Date: Wed, 13 Mar 2002 11:37:53 +0100 (MET)
- Subject: Re: IO Redirection
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/