OpenTP1 Version 7 Operation
Following is the specification format for an operation command:
command-name options command-arguments |
The command name is the file name of the command that is to be executed.
The OpenTP1 operation commands are located under $DCDIR/bin/; therefore, DCDIR/bin must be added to PATH.
In the explanation below, $ indicates the shell prompt, and cmd indicates a command name.
-option-flag |
-option-flag flag-argument |
$ cmd -a -b -c $ cmd -abc |
$ cmd -f "1 2" |
$ cmd -a 1 / Ineffective -a 2 / Effective |
$ cmd -a file -b |
$ cmd -a -- -b |
$ cmd - |
A command argument is used to specify an object of the command's processing.
Usually, up to 1,024 command arguments can be specified. However, the upper limit of command arguments is sometimes less than 1,024 depending on the command.
The following lists specification examples of command arguments. In the explanation below, $ indicates the shell prompt, cmd indicates a command name, -a indicates the option flag which requires flag arguments, -b indicates the option flag which requires no flag argument, and param1, param2, ... paramN indicates command arguments.
$ cmd $ cmd -b $ cmd -a 1
$ cmd param1 $ cmd -b param1 $ cmd -a 1 -b param1
$ cmd param1 param2 ... paramN $ cmd -b param1 param2 ... paramN $ cmd -a 1 -b param1 param2 ... paramN
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.