next up previous contents
Next: Setting Parameters Up: User's Manual Previous: Traversals   Contents

The CMD user interface

PdTRAV is equipped with an interactive textual user interface. It is intended for users who plan not to link PdTRAV packages as an object library. Commands are issued on a line by line basis.

If the first character of a command is the exclamation mark "!", a system call is issued instead. This allows to execute basic system commands such as "more", "ls", etc.

If the first character of a command is "#" the command is ignored, i.e., it is supposed to be a comment. This is especially useful to write script files. In fact, the command "source" gives the possibility to read from a source-script file instead that from standard input.

If the first character of the command is "@" this indicates that a script file with parameter is used. For example


@script1.cmd a b c
runs the script file script1.cmd (containing some $1, $2 and $3) with parameters a, b and c.

For more information on the commands see the documentation in the cmd
doc
directory and the on-line documentation (command help).


next up previous contents
Next: Setting Parameters Up: User's Manual Previous: Traversals   Contents
Gianpiero Cabodi
2001-03-25