swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
     
Using arguments files

You can shorten your OmniMark command line to the following by using an arguments file:

  omnimark -f my-argsfile.xar

An arguments file, usually ending in an ".xar" filename extension, contains all the command line arguments that you would otherwise have to type in or paste onto the command line.

For example, rather than typing the following as a single, long command line, you could save it in the following format as a plain text file named "myprog.xar":

     -s myprog.xom
     -i /usr/bin/omnimark/xin/
     -x /usr/bin/omnimark/lib/=L.so
     -log /home/httpd/html/myprog.log
     -d email-add "foo@bar.baz"
     -d root-dir "/home/httpd/html/"
     -d cgi-dir "/home/httpd/cgi-bin/"
     -brief

Instead of typing the entire command line, you can now simply call the arguments file from the command line using the "-argsfile" or "-f" command-line options. For example:

     omnimark -f myprog.xar

OmniMark uses the file specified after the "-f" option as its command line and treats it exactly as though you had typed the file contents directly on the command line. Arguments files are extremely convenient, and are particularly useful when you are doing CGI programming with OmniMark.

       
----

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:06:30 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.