IO Redirection

Robert Mark Bram relaxedrob@no.spam.optushome.com.au
Wed Mar 13 03:52:00 GMT 2002


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@DIJONG ~
$ ls
errors  script1  script2  temp

Robert Mark Bram@DIJONG ~
$ ls &>> temp
bash: syntax error near unexpected token `&>>'

Robert Mark Bram@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/



More information about the Cygwin mailing list