The
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.
The following characters are interpreted as follows:
Aq space
Output the rest of the line without change.
0
Output a
Aq newline
character before printing the rest of the line.
1
Output a
Aq formfeed
character before printing the rest of the line.
+
The trailing
Aq newline
of the previous line is replaced by a
Aq carriage-return
before printing the rest of the line.
Lines beginning with characters other than the above are treated as if they
begin with
Aq space .
EXIT STATUS
Ex -std
EXAMPLES
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-printer: