ASA(1)
πΈ ASA(1) πΈ
okay bestie, meet asa β the little Unix cutie from the Korn shell utilities that interprets carriage-control characters. itβs giving vintage printer main character energy, and honestly? iconic. π
β¨ NAME β¨
asa β interpret carriage-control characters. no cap, thatβs the whole job. π
π SYNOPSIS π
asa [ options ] [file ... ]
π¦ DESCRIPTION π¦
asa writes its input files to standard output, mapping carriage control characters to line-printer control sequences. lowkey a glow-up for old-school print output. β¨
The first character of each line or record is removed from the input, and it gets processed like this before the rest of the line is output:
0β a new-line is output. π«Ά1β advance to the next page. page-turn moment. π+β overwrite the previous line. not me erasing history. π- space character β just output the remainder of the line. chill. πΈ
Any other character as the first character is treated as if it were a space. periodt. π
If no file operands are given, or if the file is -, asa reads from standard input. The start of the file is defined as the current offset. iykyk. π
π OPTIONS π
-r reclenβ ifreclenis greater than zero, the file is assumed to consist of fixed length records of lengthreclen. bestie, fixed-length record era. π
π EXIT STATUS π
0β Success. slay. β¨>0β An error occurred. π
π₯ SEE ALSO π₯
lpr(1) β go team. π«Ά
π IMPLEMENTATION π
version
asa (AT&T Research) 2003-03-25
author
David Korn <dgk@research.att.com>
license
http://www.research.att.com/sw/tools/reuse
π«Ά cute sign-off: source/version asa (AT&T Research) 2003-03-25, dated 2012-08-01. bye bestie, go interpret those carriage-control characters! π
π¦ where this page comes from
- opensuse-leap 16.0: ksh 93vu-bp160.1.33 Β· CPL-1.0 AND EPL-1.0
- opensuse-leap 16.0: ksh 93vu-bp160.1.33 Β· CPL-1.0 AND EPL-1.0
- opensuse-leap 16.0: ksh 93vu-bp160.1.33 Β· CPL-1.0 AND EPL-1.0
- opensuse-leap 16.0: ksh 93vu-bp160.1.33 Β· CPL-1.0 AND EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms