function foo() {
A=$@...
echo $A
}
foo bla "hello ppl"
I would like the output to be:
"bla" "hello ppl"
What do I need to do instead of the ellipsis?
See Question&Answers more detail:osfunction foo() {
A=$@...
echo $A
}
foo bla "hello ppl"
I would like the output to be:
"bla" "hello ppl"
What do I need to do instead of the ellipsis?
See Question&Answers more detail:os