10.2.1. - Which directory?
When a file name is entered for the command file, C-PLOT first looks for that file name in the current directory. If it can't find the file there, and if the file doesn't contain the
/
character,
C-PLOT looks in the directory given by the shell
variable
CPLOT_DO_DIR
in your environment.
If that variable
is not found in the program's environment, the directory
$CPLOTHOME
/cmdfiles
is checked to see if it contains
cmd_file
.
CPLOT_DO_DIR
can contain a colon-separated list of directories, in which case C-PLOT
will look for the file in each directory in turn.