asainterpret ASA/FORTRAN carriage control |
Command |
asa [file ...]
1, that line should begin on
a new page, and so on.
asa reads input in this format and writes it out in a normal
text format, using newlines, formfeeds, and carriage returns to achieve the same
effects as the ASA/FORTRAN carriage control characters.
If you specify files on the command line, asa reads input
from these files; otherwise, it reads the standard input. asa
writes output to the standard output.
This utility does not copy newline characters in the input to the output.
Instead, it uses the first character of each line to determine how to print the
rest of the line. asa interprets the first character as
follows.
outputs the rest of the line without change.
0outputs a newline character before printing line.
1outputs a formfeed (start a new page) sequence before printing line.
+outputs a carriage return sequence so that line is output over
the previous line. If + starts the first line, it is
treated as a space.
0Successful completion.
1Failure due to any of the following:
2Unknown option specified on the command line.