Date: Sat, 24 Oct 2009 21:20:04 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh expand.c sh.1 src/tools/regression/bin/sh/expansion set-u2.0 Message-ID: <200910242123.n9OLNfED068017@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2009-10-24 21:20:04 UTC
FreeBSD src repository
Modified files:
bin/sh expand.c sh.1
Added files:
tools/regression/bin/sh/expansion set-u2.0
Log:
SVN rev 198454 on 2009-10-24 21:20:04Z by jilles
sh: Exempt $@ and $* from set -u
This seems more useful and will likely be in the next POSIX standard.
Also document more precisely in the man page what set -u does (note that
$@, $* and $! are the only special parameters that can ever be unset, all
the others are always set, although they may be empty).
Revision Changes Path
1.56 +1 -1 src/bin/sh/expand.c
1.133 +5 -2 src/bin/sh/sh.1
1.1 +12 -0 src/tools/regression/bin/sh/expansion/set-u2.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910242123.n9OLNfED068017>
