aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-06-06 18:21:58 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-06-11 16:49:51 +0800
commit5cc91900c887df1209b59f0357718c78d2d5ca4e (patch)
tree399595b097893aca8aea1d341ed92df5ca9ca24e /scripts/var_def.bash
parentWalker: support array offset expansion (diff)
downloadlibbash-5cc91900c887df1209b59f0357718c78d2d5ca4e.tar.gz
libbash-5cc91900c887df1209b59f0357718c78d2d5ca4e.tar.bz2
libbash-5cc91900c887df1209b59f0357718c78d2d5ca4e.zip
Walker: simplify variable reference
$* and $@ are treated equally now. This will simplify the grammar and we won't differentiate them until this causes any problem. $@ is supported in walker grammar with this change.
Diffstat (limited to 'scripts/var_def.bash')
-rw-r--r--scripts/var_def.bash2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/var_def.bash b/scripts/var_def.bash
index f832a96..1980681 100644
--- a/scripts/var_def.bash
+++ b/scripts/var_def.bash
@@ -35,8 +35,6 @@ ARRAY10="${ARRAY05[*]}"
FOO001="networkmanager"
FOO002="0.8.2"
FOO003=${FOO001}-${FOO002}
-FOO004=$*
-FOO004=$@
FOO004=$#
FOO004=$?
FOO004=$-