The command is:
% ratty [-s system] [-I incdir] [-D symbol] [-b] [-?] input output
``Input'' is a text file containing a mildly extended FORTRAN, whereas
``output'' is the resultant standard (?) code. The default input and
output are the standard input and standard output. A few command line
flags are also recognized.
- The string following this flag indicates the target compiler.
RATTY performs some special processing for the following
RATTY assumes that target compilers other than these are strict FORTRAN-77
- VAX/VMS FORTRAN compiler.
- Cray FORTRAN compiler for both CTSS and COS.
- UNIX FORTRAN-77 compiler.
- Convex C-1 compiler.
- Alliants compiler.
- Multiflow Trace computers.
- Sun computers.
- The string following this flag indicates an alternate directory to
search for include files. The -I flag can occur several times, giving several
directories. When opening include files, first the current directory is
check, and then each directory given by the -I flag is check in the order
in which they appeared on the command line.
- The name following this flag is treated as if it appeared in a
#define statement. Note that unlike the cc compiler, a space is required
between the -D and the name.
- If this flag is given, every backslash in the input is converted to
two backslashes in the output. This is useful when the target compiler
treats backslash as an ``escape character'' (i.e. several UNIX FORTRAN
- This causes some help (on using ratty) to be printed.