Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!gecm.com!usenet From: Dave Miller <dave.m.miller@gecm.com> Newsgroups: comp.unix.questions,comp.unix.bsd.misc,comp.unix.bsd.bsdi.misc Subject: Re: stderr redirection with BSD Unix Date: 20 Mar 1996 14:53:12 GMT Organization: GEC-Marconi Dynamics Ltd Lines: 13 Message-ID: <4ip64o$v4l@gcsin3.geccs.gecm.com> References: <31500644.37A7@cyberstation.net> NNTP-Posting-Host: gwcad1.stanmore.gmdl.gecm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/755) X-URL: news:31500644.37A7@cyberstation.net Xref: euryale.cc.adfa.oz.au comp.unix.questions:79550 comp.unix.bsd.misc:595 comp.unix.bsd.bsdi.misc:2894 This isn't so much a problem with BSD versus SYSV but a problem with the shell you're using. > and 2> are the redirection operators for stdout and stderr under the Bourne and Korn shells. If you're using the C shell use > and >& for stdout and stderr. For more information (such as appending to existing files) do a man csh. -- D.M.Miller, Computer Services Group Dynamics Division, GEC-Marconi Radar & Defence Systems Ltd The Grove, Warren Lane, Stanmore, Middlesex, HA7 4LY, UK Mailto:dave.m.miller@gecm.com I'm speaking for myself - not my employer