I want to pass an array of strings to a command line program, where each 
string needs to be preceded by an -e. e.g. I have

a = ["string1","string2","string3",...]

and I want to call

`command -e $(a[1])  -e $(a[2]) -e $(a[3])` ...

Is there an easy way to do this using the command line interpolation tools?

-Simon

Reply via email to