ASA(1) OpenBSD Reference Manual ASA(1)NAME
asa, fpr - interpret carriage-control characters
SYNOPSISasa [file ...]
fpr [file ...]
The asa utility reads files sequentially, mapping FORTRAN carriage-
control characters to line-printer control sequences, and writes them to
the standard output.
The first character of each line is interpreted as a carriage-control
character. Additionally, the following characters are interpreted as
Output the rest of the line without change.
0 Output a newline (`\n') character before printing the rest of the
1 Output a <formfeed> character before printing the rest of the
+ The trailing newline (`\n') of the previous line is replaced by a
carriage-return (`\r') before printing the rest of the line.
Lines beginning with characters other than the above are treated as if
they begin with a space (` ').
The asa utility exits 0 on success, and >0 if an error occurs.
To view a file containing the output of a FORTRAN program:
$ asa file
To format the output of a FORTRAN program and redirect it to a line-
$ a.out | asa | lpr
The asa utility is compliant with the IEEE Std 1003.1-2008 (``POSIX'')
specification, though its presence is optional.
The fpr utility is deprecated and its use should be restricted.
J.T. Conklin, Winning Strategies, Inc.
OpenBSD 4.9 September 3, 2010 OpenBSD 4.9