Date: Mon, 09 Apr 2001 13:47:55 +0100 From: Brian Somers <brian@Awfulhak.org> To: Martin Cracauer <cracauer@cons.org> Cc: Brian Somers <brian@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: cvs commit: src/bin/sh parser.c Message-ID: <200104091247.f39CltP01981@hak.lan.Awfulhak.org> In-Reply-To: Message from Martin Cracauer <cracauer@cons.org> of "Mon, 09 Apr 2001 12:52:40 %2B0200." <20010409125240.A15655@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. This should be fixed in parser.c v1.36. > In <200104041011.f34ABhD62212@freefall.freebsd.org>, Brian Somers wrote: > > brian 2001/04/04 03:11:43 PDT > > > > Modified files: > > bin/sh parser.c > > Log: > > A much better (more correct) fix for handling ``!'' characters > > This is broken for pipes in ! constructs. Try this: > > if ! echo bla | wc -c ; then > echo broken > fi > if ! wc -c /etc/hosts ; then > echo broken > fi > > I am available for reviews of sh fixes. > > Martin > -- > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/ > As far as I'm concerned, if something is so complicated that you can't ex- > plain it in 10 seconds, then it's probably not worth knowing anyway -Calvin -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104091247.f39CltP01981>