The asa utility will write its input files to standard output, mapping carriage-control characters from the text files to line-printer control sequences.
The first character of every line will be removed from the input, and the following actions will be performed.
If the character removed is:
-
SPACE
- The rest of the line will be output without change.
-
0
- It is replaced by a newline control sequence followed by the rest of the input line.
-
1
- It is replaced by a newpage control sequence followed by the rest of the input line.
-
+
- It is replaced by a control sequence that causes printing to return to the first column of the previous line, where the rest of the input
line is printed.
For any other character in the first column of an input line, asa skips the character and prints the rest of the line unchanged.
If asa is called without providing a filename, the standard input is used.
|