Re: IO Redirection

2002-03-13 Thread Randall R Schulz
Robert, [ Yes, Bjoern, this is OT for the Cygwin list as it's all about shell usage and not at all Cygwin specific. ] You're using BASH, Robert. Except for the simple ">" and ">>" redirection, it's syntax is different from that of TCSH. Bjoern's answer was for TCSH. I'm a BASH user, so I'll

Re: IO Redirection

2002-03-13 Thread Christopher Faylor
On Wed, Mar 13, 2002 at 09:30:27PM +1100, 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 >

Re: IO Redirection

2002-03-13 Thread Don Sharp
Robert Mark Bram wrote: > > 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 b

Re: IO Redirection

2002-03-13 Thread Robert Mark Bram
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

Re: IO Redirection

2002-03-13 Thread Bjoern Kahl AG Resy
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 >

IO Redirection

2002-03-13 Thread Robert Mark Bram
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 Ho