Date: Sun, 24 Oct 2010 17:06:49 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh parser.c src/tools/regression/bin/sh/parser pipe-not1.0 Message-ID: <201010241707.o9OH7g0t096386@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-10-24 17:06:49 UTC
FreeBSD src repository
Modified files:
bin/sh parser.c
Added files:
tools/regression/bin/sh/parser pipe-not1.0
Log:
SVN rev 214281 on 2010-10-24 17:06:49Z by jilles
sh: Change ! within a pipeline to start a new pipeline instead.
This is how ksh93 treats ! within a pipeline and makes the ! in
a | ! b | c
negate the exit status of the pipeline, as if it were
a | { ! b | c; }
Side effect: something like
f() ! a
is now a syntax error, because a function definition takes a command,
not a pipeline.
Exp-run done by: pav (with some other sh(1) changes)
Revision Changes Path
1.89 +11 -19 src/bin/sh/parser.c
1.1 +3 -0 src/tools/regression/bin/sh/parser/pipe-not1.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010241707.o9OH7g0t096386>
