Bash-4.3 distribution sources and documentation

This commit is contained in:
Chet Ramey 2014-02-26 09:36:43 -05:00
commit ac50fbac37
497 changed files with 129395 additions and 87598 deletions

30
tests/dollar-at6.sub Normal file
View file

@ -0,0 +1,30 @@
set -- '';
recho "${@}" x
recho "${@:1}" x
set -- "${@:1}"
echo "$#"
set -- '' ''
recho "${@:1}" x
recho "${@:1:1}" x
typeset -a A # ksh93 needs this
A=('' '')
recho "${A[@]:0}" x
recho "${A[@]:0:1}" x
recho "${A[@]:1}" x
set -- ''
recho "${@/foo/bar}"
recho "${@^^[abcde]}"
A=( '' )
recho "${A[@]/foo/bar}"
recho "${A[@],,[abcde]}"