repo.or.cz
/
bush.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
improve of cmpl.
[bush.git]
/
testing
/
3.OriginalTest.dir
/
2.dollor
/
dollar-at-star
/
dollar-at-star8.sub
blob
7e1b68844daaa53ce39a074d177d3d3d5a8e7030
1
function f {
2
typeset -a a
3
a=("$@")
4
typeset IFS=,
5
typeset a1="${a[@]} ${a[*]} $@ $* ${@} ${*}"
6
typeset a2=${a[@]}\ ${a[*]}\ $@\ $*\ ${@}\ ${*} a3 a4
7
a3="${a[@]} ${a[*]} $@ $* ${@} ${*}"
8
a4=${a[@]}\ ${a[*]}\ $@\ $*\ ${@}\ ${*}
9
unset -v IFS
10
printf '%s\n' "a1=$a1" "a2=$a2" "a3=$a3" "a4=$a4"
11
}
12
13
echo
14
f a b c