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

31
tests/dollar-star1.sub Normal file
View file

@ -0,0 +1,31 @@
set -- a b c
x=(a b c); IFS='|'
echo "${*/#/x}"
echo "${x[*]/#/x}"
echo "$*"
echo "${x[*]}"
echo "$@"
echo "${x[@]}"
echo "${@/#/x}"
echo "${x[@]/#/x}"
echo "${*:1:2}"
echo "${x[*]:1:2}"
echo "${@:1:2}"
echo "${x[@]:1:2}"
IFS=$' \t\n'
set -- xa xb xc
x=(xa xb xc)
IFS='|'
echo "${*#x}"
echo "${x[*]#x}"
echo "$*"
echo "${x[*]}"