asa(1) CLIX asa(1)
NAME
asa - Interprets ASA carriage control characters
SYNOPSIS
asa [-s] [file]
FLAGS
-s Suppresses error messages.
DESCRIPTION
The asa command is designed to interpret the output of FORTRAN programs
whose authors have used ASA carriage control characters. The asa command
processes either the specified files stdin if no file names are given.
The asa command processes each input file and produces the results to
stdout.
The first character of each line is assumed to be a control character.
The the meanings of the control characters are as follows:
<space> Single-spaces before printing.
0 Double-spaces before printing.
- Triple-spaces before printing.
1 Starts a new page before printing.
+ Does not space at all before printing. A line beginning with a
plus sign (+) will overprint the previous line.
Lines beginning with other than the above characters are treated as if
they began with a space. The first characters of such lines will be
replaced by a single space. If any such lines appear, an appropriate
diagnostic message will appear on the stderr file after processing each
file.
The asa command forces the first line of each file to start on a new page.
This action requires that the printer be able to perform the formfeed
character.
EXAMPLES
This example processes the input file code.stuff and suppresses error
messages.
asa -s code.stuff
2/94 - Intergraph Corporation 1
asa(1) CLIX asa(1)
EXIT VALUES
The exit value reflects the error conditions after processing. The exit
values and their meanings are as follows:
0 No errors.
-1 Output error.
>0 No output error, and there are some input files which cannot be
opened. The value is the total number of input files that cannot be
opened. For example, an exit value of 2 means that two input files
could not be opened.
2 Intergraph Corporation - 2/94