:man| Alphabetical   Categories   About us 
 
ASA (1) | General commands | Unix Manual Pages | :man

NAME

asa - interpret carriage-control characters

CONTENTS

Synopsis
Description
Exit Status
Examples
See Also
Standards
Authors

SYNOPSIS

asa []

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


.Ex -std

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

AUTHORS


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013