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