Prints FORTRAN files to AIX line-printer conventions.
{ asa | fpr } [ File ... ]
The asa and fpr commands print FORTRAN files to conform to AIX line-printer conventions. Both commands work like a filter to transform files formatted according to FORTRAN carriage control conventions into files formatted according to AIX line-printer conventions.
The File variable specifies the name of the input file that the asa and fpr commands read instead of the standard input. The asa and fpr commands read the file, replace the carriage control characters with recognizable AIX characters, and print the file to standard output.
Both commands read the first character of each line from the input file, interpret the character, and space the line according to the definition of the first character. If the first character is either a Blank, a 0, a dash (-) , a 1, or a plus sign (+), either command does the following:
The commands interpret a blank line as if its first character is a blank and delete a blank that appears as a carriage control character. It treats lines that begin with characters other than the defined control characters as if they begin with a blank character. The first character of a line is not printed. If any such lines appear, an appropriate diagnostic appears in the standard error.
Note: Results are undefined for input lines longer than 170 characters.
This command returns the following exit values:
0 | Successful completion. |
>0 | An error occurred. |
a.out | fpr | qprt
asa f77.output | qprt
/usr/ucb/fpr | Contains the fpr command. |
/usr/bin/asa | Contains the asa command. |
The fsplit command, qprt command, struct command.