This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IO Redirection


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]