I want to call external application from shell script, but this shell script gets parameters (from other script) in a single variable. All was OK until I did not have to use
pass() { echo 'Result with "$@"' sh_param "$@" } sh_param() { for i in "$@" do echo Param: $i done } pass "single param" separate param
Result with "$@" Param: single param Param: separate Param: param