|
Using arguments files
You can combine several command line options into a file called an arguments file. You then name the arguments file on the OmniMark Concurrent Processing Engine command line using the -f command line option. The command line options in the arguments file will be read as if they had been entered on the command line. Arguments files are usually given the extension .xar. The following command line loads program.xvc and reads command line options from the file arguments.xar.
omcpe -load program.xvc -f arguments.xarIf you place the -load argument into an arguments file, you can start OmniMark Concurrent Processing Engine using an arguments file alone. The following command line causes OmniMark Concurrent Processing Engine to read options, including the -load option, from the arguments file program.xar.
omcpe -f program.xarWhen you create an arguments file, you should place command line arguments one per line, like this:
#!/usr/bin/omcpe -f -load program.xvc -d name Fred -c age 5 input.txt -of output.txtYou can include the #! directive in an arguments file. It will be interpreted appropriately on a UNIX system and will generally be ignored on a Windows system. If used, the #! line must contain the -f command-line option, which causes OmniMark Concurrent Processing Engine to read the arguments file.
You may include command line arguments meant for the OmniMark script as well as OmniMark Concurrent Processing Engine arguments in an arguments file.
You can load one arguments file from inside another arguments file.
OmniMark 9.1.0
EUM105 1108, generated: September 8, 2010 at 11:56:21 am
If you have any comments about this section of the documentation, send email to
[email protected]