I occasionally use DX as a batch processing tool to be invoked by shell
scripts:

        dx -script << EOF
    include "script_macros.scr"
    MyMacro( param1 = $value1, param2 = $value2, ... );
    EOF

It's not pretty, but it works.  Is there a cleaner way?

    Something like:

       dx -script script_macros.scr -invoke "MyMacro(value1,value2)"

would be ideal.  Perhaps a good add to the dx wrapper script.

    A '-quiet' mode to suppress the standard interactive text (but not the
execution errors) would also be useful.

Randall


-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711

Reply via email to