Imported from ../bash-3.0.tar.gz.

This commit is contained in:
Jari Aalto 2004-07-27 13:29:18 +00:00
commit b80f6443b6
400 changed files with 69247 additions and 13346 deletions

29
tests/dollar-at1.sub Normal file
View file

@ -0,0 +1,29 @@
echo_argc()
{
echo $#
}
a()
{
shift
echo_argc "$@"
echo_argc ${1:+"$@"}
echo_argc "${1:+$@}"
echo_argc 1 2 3
}
b()
{
_IFS="$IFS"
IFS="$1"
shift
echo_argc "$@"
echo_argc ${1:+"$@"}
echo_argc "${1:+$@}"
echo_argc 1 2 3
IFS="$_IFS"
}
a "X" foo bar hoge
b "X" foo bar hoge