Purpose
With no arguments, print the name of the current data
directory. With one argument, change the OUTDIR keyword to
point to the named directory (creating it if requested). If
files already exist in the output directory, the FRAMENO is
reset to be 1 higher than the highest existing image number in
order to prevent overwriting of existing images.
Usage
outdir [dir]
Arguments
dir = new directory to which to set the OUTDIR keyword
Output
output directory name is printed to stdout
Restrictions
Exit values
0 = normal completion
1 = wrong number of arguments
2 = unable to create directory
Example
1) to show the existing output directory
outdir
2) to set the OUTDIR to "/sdata200/lris2/22Feb2000"
outdir /sdata200/lris2/22Feb2000