mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 01:20:00 +02:00
commit bash-20080703 snapshot
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
IFS=/
|
||||
declare -a i
|
||||
|
||||
i[0]=fooq
|
||||
i[1]=
|
||||
i[2]=barq
|
||||
i[3]=
|
||||
recho "${i[*]:0}"
|
||||
recho "${i[@]:0}"
|
||||
|
||||
recho "${i[*]/q/!}"
|
||||
recho "${i[@]/q/!}"
|
||||
|
||||
recho "${i[*]#?}"
|
||||
recho "${i[@]#?}"
|
||||
|
||||
# Need to complete this with case-modifying expansion examples
|
||||
recho "${i[*]^?}"
|
||||
recho "${i[@]^?}"
|
||||
|
||||
recho "${i[*]^^?}"
|
||||
recho "${i[@]^^?}"
|
||||
|
||||
Reference in New Issue
Block a user