|
From: | Jan Schampera |
Subject: | Re: Referencing empty array with "set -u" active throws error |
Date: | Mon, 20 Dec 2010 12:27:11 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.24 (X11/20100329) |
jens.schmidt35@arcor.de wrote:
-u Treat unset variables as an error when substituting. I think the behaviour is consistent with the documentation.The question is rather when to consider a variable set or unset.
I'm not sure about the intended meaning here, but I don't consiter $@ as a variable (but a special parameter).
Though regarding what Chet said to this topic before, maybe the documentation should be rephrased.
-- Be conservative in what you do, be liberal in what you accept from others. - jbp, master of the net, in RFC793
[Prev in Thread] | Current Thread | [Next in Thread] |