ASA(1) General Commands Manual ASA(1)
asa – interpret carriage-control characters.
asa [file ...]
The asa utility reads files sequentially, mapping FORTRAN carriage-control
characters to line-printer control sequences, and writes them to the
The first character of each line is interpreted as a carriage-control
character. The following characters are interpreted as follows:
<space> Output the rest of the line without change.
0 Output a <newline> character before printing the rest of the line.
1 Output a <formfeed> character before printing the rest of the
+ The trailing <newline> of the previous line is replaced by a
<carriage-return> before printing the rest of the line.
Lines beginning with characters other than the above are treated as if they
begin with <space>.
To view a file containing the output of a FORTRAN program:
To format the output of a FORTRAN program and redirect it to a line-
a.out | asa | lpr
The asa utility exit 0 on success, and >0 if an error occurs.
The asa utility conforms to IEEE Std 1003.2-1992 (“POSIX.2”).
J.T. Conklin, Winning Strategies, Inc.
macOS 12.1 September 23, 1993 macOS 12.1