hush: more fixes to variable expansion, more testcases
This commit is contained in:
Regular → Executable
@@ -0,0 +1,5 @@
|
||||
. .
|
||||
.abc d e.
|
||||
.abc d e.
|
||||
.abc d e.
|
||||
.abc d e.
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
if test $# = 0; then
|
||||
exec "$THIS_SH" "$0" abc "d e"
|
||||
fi
|
||||
|
||||
space=' '
|
||||
echo .$space.
|
||||
|
||||
a=$*
|
||||
echo .$a.
|
||||
a=$@
|
||||
echo .$a.
|
||||
a="$*"
|
||||
echo .$a.
|
||||
a="$@"
|
||||
echo .$a.
|
||||
Regular → Executable
Reference in New Issue
Block a user