As for SAFARI, filenames are passed to the code via environmental parameters. In Unix systems a typical command file oast (in $HOME/oases/bin) is:
# the pound sign invokes the C-shell
setenv FOR001 $1.dat # input file
setenv FOR002 $1.src # Source array input file
setenv FOR019 $1.plp # plot parameter file
setenv FOR020 $1.plt # plot data file
setenv FOR023 $1.trc # reflection coefficient table (input)
setenv FOR028 $1.cdr # contour plot parameter file
setenv FOR029 $1.bdr # contour plot data file
setenv FOR045 $1.rhs # file for scattering discontinuities
oast2 # executable
After preparing a data file with the name input.dat, OAST is executed by the command:
> oast input