next up previous contents
Next: Input phrases 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.3), then typing Ndl foo at the OS shell prompt (a Unix terminal or a DOS window) 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-04