]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/dollar-at6.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / dollar-at6.sub
CommitLineData
ac50fbac
CR
1set -- '';
2
3recho "${@}" x
4recho "${@:1}" x
5
6set -- "${@:1}"
7echo "$#"
8
9set -- '' ''
10
11recho "${@:1}" x
12recho "${@:1:1}" x
13
14typeset -a A # ksh93 needs this
15A=('' '')
16recho "${A[@]:0}" x
17
18recho "${A[@]:0:1}" x
19
20recho "${A[@]:1}" x
21
22set -- ''
23
24recho "${@/foo/bar}"
25recho "${@^^[abcde]}"
26
27A=( '' )
28
29recho "${A[@]/foo/bar}"
30recho "${A[@],,[abcde]}"