netbsd man page for asa

Query: asa

OS: netbsd

Section: 1

Links: netbsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ASA(1)							    BSD General Commands Manual 						    ASA(1)

NAME
asa -- interpret carriage-control characters
SYNOPSIS
asa [file ...]
DESCRIPTION
The asa utility reads files sequentially, mapping FORTRAN carriage-control characters to line-printer control sequences, and writes them to the standard output. The first character of each line is interpreted as a carriage-control character. The following characters are interpreted as follows: <space> Output the rest of the line without change. 0 Output a <newline> character before printing the rest of the line. 1 Output a <formfeed> character before printing the rest of the line. + The trailing <newline> of the previous line is replaced by a <carriage-return> before printing the rest of the line. Lines beginning with characters other than the above are treated as if they begin with <space>.
EXIT STATUS
The asa utility exit 0 on success, and >0 if an error occurs.
EXAMPLES
To view a file containing the output of a FORTRAN program: asa file To format the output of a FORTRAN program and redirect it to a line-printer: a.out | asa | lpr
SEE ALSO
f77(1)
STANDARDS
The asa utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'') and to X/Open Commands and Utilities Issue 5 (``XCU5'').
AUTHORS
J.T. Conklin, Winning Strategies, Inc.
BSD
September 23, 1993 BSD
Related Man Pages
asa(1) - linux
col(1) - linux
asa(1) - netbsd
col(1) - osx
asa(1p) - posix
Similar Topics in the Unix Linux Community
Hidden control characters in a Unix Text File!
sed problem
Removing Carriage return in a file after particular string
FORTRAN read statement
Remove carriage return