IO Redirection

Bjoern Kahl AG Resy kahl@informatik.uni-kl.de
Wed Mar 13 03:06:00 GMT 2002


 Hallo!
 OT, but ...
On 2002年3月13日, 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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /