ASA(1)

πŸ“¦ version 93vu, in opensuse-leap 16.0

🌸 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 β€” if reclen is greater than zero, the file is assumed to consist of fixed length records of length reclen. 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