ASA(1) ASA(1)
NAME
asa - interpret ASA carriage control characters
SYNOPSIS
asa [file...]
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 no file names are supplied. The first character of
each line is assumed to be a control character; their
meanings are:
(blank) single newline before printing
0 double newline before printing
1 new page before printing
+ overprint previous line.
Lines beginning with other than the above characters are
treated as if they began with a space. The first character
of a line is not printed. If any such lines appear, an
appropriate diagnostic will appear on standard error. This
program forces the first line of each input file to start on
a new page.
EXAMPLE
To correctly view the output of Fortran programs which use
ASA carriage control characters, asa could be used as a
filter, thus:
a.out | asa | lp
and the output, properly formatted and paginated, would be
directed to the line printer. Fortran output sent to a file
could be viewed by:
Page 1 May 1989
ASA(1) ASA(1)
asa file
FILES
/bin/asa
Page 2 May 1989