On Thu, Jan 17, 2013 at 1:41 PM, MaShimiao
<address@hidden> wrote:
Hi,all.
According to changelog, there is a shell's new feature about non-interactive mode.
It says non-interactive mode shells exit if -u is enabled and an attempt in made to use an unset variable with the % or # expansions, the '//', '^', or ',' expansion, or the parameter length expansion.
"if -u is enabled", does it mean "shopt -u interactive_comments" or anything else?
Should be "set -u" (Treat unset variables as an error when substituting.)