[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mention that -u won't catch $@ and $*
From: |
Dan Jacobson |
Subject: |
mention that -u won't catch $@ and $* |
Date: |
Mon, 13 Sep 2004 02:24:43 +0800 |
On the man page maybe mention that -u won't catch $@ and $*:
$ set -u --
$ : $1
bash: $1: unbound variable
$ : $@ $*
$ : ${1?}
bash: 1: parameter null or not set
$ : ${@?}
bash: @: parameter null or not set
$ : ${*?}
bash: *: parameter null or not set
"Why of course, $1 is a variable and $@ $* are not." But I'd still
mention it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mention that -u won't catch $@ and $*,
Dan Jacobson <=