asa(1)
NAME
asa − interpret ASA carriage control characters
SYNOPSIS
asa [files]
DESCRIPTION
asa interprets the output of FORTRAN programs that utilize ASA carriage control characters. It processes either the files whose names are given as arguments, or the standard input if - is specified or if no file names or given. The first character of each line is assumed to be a control character. The following control characters are interpeted as indicated:
(blank) Output a single new-line character before printing.
0 Output two new-line characters before printing.
1 Output a new-page character before printing.
+ Overprint previous line.
Lines beginning with other than the above characters are treated the same as lines beginning with a blank. The first character of a line is not printed. If any such lines appear, an appropriate diagnostic is sent to standard error. This program forces the first line of each input file to start on a new page.
To view the output of FORTRAN programs which use ASA carriage control characters and have them appear in normal form, asa can be used as a filter:
a.out | asa | lp
The output, properly formatted and paginated, is then directed to the line printer. FORTRAN output previously sent to a file can be viewed on a user terminal screen by using:
asa file
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
SEE ALSO
efl(1), f77(1), fsplit(1), ratfor(1).
STANDARDS CONFORMANCE
asa: POSIX.2
Hewlett-Packard Company — HP-UX Release 9.0: August 1992