I\'ve got a program that I want to call by passing parameters from a shell variable. Throughout this question, I am going to assume that it is given by
#!/bin/sh
Use an array to store multiple, space-containing arguments.
$ args=("first one" "second one") $ count-args "${args[@]}" 2