DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

asa(C)


asa -- interpret printer control codes

Syntax

asa [ file ... ]

Description

asa maps printer control characters which it reads from file or from the standard input if none is specified. It writes the converted source to the standard output.

asa removes and interprets the first character of each line as follows:


``Space''
No action; output the remainder of the line as is.

0
Print a newline character followed by the remainder of the line.

1
Print the character sequence to start a new page followed by the remainder of the line.

+
Replace the newline character of the previous line with a character sequence that causes the previous line to be overstruck with the remainder of the current line. The ``+'' character is treated as a space if it is the first character in the input.
If any other character is present in the first column, the line is treated as invalid.

See also

lp(C)

Standards conformance

asa is conformant with:

ISO/IEC DIS 9945-2:1992, Information technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities (IEEE Std 1003.2-1992);
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003