a
asa(1) | asa(1) |
NAME
asa - interpret ASA carriage control characters
SYNOPSIS
asa [®les]
DESCRIPTION
asa interprets the output of FORTRAN programs that utilize ASA carriage control characters. It processes either the ®les whose names are given as arguments, or the standard input if - is speci®ed or if no ®le names are given. The ®rst character of each line is assumed to be a control character. The following control characters are interpreted as indicated:
(blank) Output a single
(space) (XPG4 only.) The rest of the line will be output without change.
0Output two
0(XPG4 only.) A <newline> shall be output, then the rest of the input line.
1Output a
+Overprint previous line.
+(XPG4 only.) The <newline> of the previous line shall be replaced with one or more
Lines beginning with other than the above characters are treated the same as lines beginning with a blank. The ®rst character of a line is not printed. If any such lines appear, an appropriate diagnostic is sent to standard error. This program forces the ®rst line of each input ®le to start on a new page.
(XPG4 only.) The action of the asa utility is unspeci®ed upon encountering any character other than those listed above as the ®rst character in a line.
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 ®lter:
a.out asa lp
The output, properly formatted and paginated, is then directed to the line printer. FORTRAN output previously sent to a ®le can be viewed on a user terminal screen by using:
asa ®le
EXTERNAL INFLUENCES
Environment Variables
LC_CTYPE determines the interpretation of text within ®le as single- and/or
LC_MESSAGES determines the language in which messages are displayed.
If LC_CTYPE or LC_MESSAGES is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting, asa behaves as if all internationalization variables are set to "C". See environ(5).
International Code Set Support
Single- and
SEE ALSO
e¯(1), f77(1), fsplit(1), ratfor(1).
STANDARDS CONFORMANCE asa: XPG4, POSIX.2
Section 1−26 | − 1 − |