Eelco Van Vliet:
 |Does anybody know a better way .??
...
 |# create dx commando string
 |dxcmd="'ScriptCmd($naam,$numb)'"
 |
 |# call dx via pipe to bash
 |echo -e dx -script ScriptCmd.net -scriptcmd $dxcmd |bash

Sorry for this being a few weeks late.  Gone at SIGGRAPH when you mailed
and I'm just now catching up on the list.

Not really a DX question, but you have to play the shell's game by it's
rules.  Any of the following will work too (in place of the above lines).
The first has the lowest "ugly factor".

   dx -script ScriptCmd.net -scriptcmd "ScriptCmd($naam,$numb)"
   dx -script ScriptCmd.net -scriptcmd 'ScriptCmd('$naam','$numb')'
   dx -script ScriptCmd.net -scriptcmd ScriptCmd\($naam,$numb\)

Randy

-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711

Reply via email to