passing tcl list to args of an external program



Consider this bash test script:

$ bash -c 'for f;do echo "myarg: $f";done' TESTSCRIPT 'first arg' 'second arg'
myarg: first arg
myarg: second arg

How might I drive the arguments sent to the
above script with a tcl list? I want the method
to to be generic enough, so it does
not matter what is in the list.

The only approaches that seem to work for me, involve
figuring out a way to metaquote the arguments when required.
But, I'm inexperienced w/tcl.

--
thanks much,
Tom

--
roa6v@xxxxxxxxxxxxxxxx
SDF Public Access UNIX System - http://sdf.lonestar.org
.