Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!news.sgi.com!howland.erols.net!rill.news.pipex.net!pipex!netcom.net.uk!nntpfeed.doc.ic.ac.uk!sunsite.doc.ic.ac.uk!lyra.csx.cam.ac.uk!news From: Gareth McCaughan <gjm11@dpmms.cam.ac.uk> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: sh bug? Date: 13 Mar 1997 12:20:19 +0000 Organization: International Pedant Conspiracy Lines: 17 Message-ID: <86u3mgc7b0.fsf@g.pet.cam.ac.uk> References: <332369be.3271553@news.fu-berlin.de> <5g7ltp$ps@uriah.heep.sax.de> <3327db59.1518864@news.fu-berlin.de> NNTP-Posting-Host: g.pet.cam.ac.uk X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36964 Axel Thimm wroteL > I am not a shell expert. In order to gove some info here are some parts > of a dicussion in the tetex list about it: (I think in a nutshell, that > sh cannot cope with redirection to >&1.) ... > >None of these works in my environment: > > > > sh -c 'a=1; echo hi >&$a' > > sh -c 'a=1; eval echo hi \>\&$a' > > sh -c 'echo hi >&1' For what it's worth, this works fine in 2.2. -- Gareth McCaughan Dept. of Pure Mathematics & Mathematical Statistics, gjm11@dpmms.cam.ac.uk Cambridge University, England.