next up previous contents
Next: Loading files from the Up: Interacting witn NDL Previous: Using the GUI: the   Contents

Using NDL in batch mode

It is not necessary to use the graphical interface of NDL. Instead, one can invoke NDL in so-called ``batch mode.'' If file foo contains a NDL script (see section 1.5), then typing ./ndl foo at the Unix shell will load the file foo, process the various NDL phrases in it sequentially, and display the results to the standard output device (usually the screen). The user can choose to redirect the output to a file instead of the screen by specifying a second file name as the last command-line argument to NDL, as in ./ndl foo.in foo.out. Note that any previous contents of foo.out will be lost.

2004-08-06