Hi all,

args1="one two"
args2="three four"

$ mycommand one two three four
You passed 4 arguments
- one
- two
- three
- fout

$ mycommand $args1 $args2
You passed 2 arguments
- one two
- three four

How can I pass args1 and args2 to mycommand as 4 arguments?
I think in bash, this script might get run by /bin/sh.
Don't know if that's any different


Thanks,
Mathijs
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to