stderr & csh

Rebecca J. Oakes skeeve at eng.umd.edu
Thu Dec 7 19:10:54 AEST 1989


     Thanks for your mail.  I received quite a few different
solutions.  I feel the best is:

     (command > /dev/tty) >& outfile

     This redirects stdout to /dev/tty.  Then everything thats leftover,
namely stderr, gets redirected to outfile.

-- 
      //\                       |  _
      \\                        | /^\ - Cyber Spud 
     \// keeve at wam.umd.edu      | \_/   -- The Augmented Potatoe
                                |
"That's entertainment!" - Vlad the Impaler



More information about the Comp.unix.questions mailing list