ASA(1)
π ASA(1) β interpret carriage-control characters β¨
Okay bestie, so you know how FORTRAN is out here living its best life with these little secret code characters at the start of every line? Yeah, asa is the icon that translates all that for your regular printer. Let me put you on. π«Ά
πΈ 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. Itβs literally doing the translation work so your line printer doesnβt have to. π
The first character of each line is interpreted as a carriage-control character. The following characters are interpreted as follows, no cap:
- β¨spaceβ© β Output the rest of the line without change. Chill. Default vibe. β¨
0β Output a β¨newlineβ© character before printing the rest of the line. Itβs giving "double space me, queen." π1β Output a β¨formfeedβ© character before printing the rest of the line. New page, new me. π¦+β The trailing β¨newlineβ© of the previous line is replaced by a β¨carriage-returnβ© before printing the rest of the line. Overlay realness. π
Lines beginning with characters other than the above are treated as if they begin with β¨spaceβ©. So if itβs not one of the cool kids, itβs getting the default treatment. Periodt. π
π₯ EXIT STATUS π₯
The asa utility exits 0 on success, and >0 if an error occurs. Basically: 0 = slay, anything else = something went off. π
π 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
Look at that pipeline. Main character energy. π
π SEE ALSO π
f77(1)
β STANDARDS β
The asa utility conforms to IEEE Std 1003.1-2001 (βPOSIX.1β). Standards? She has them. π
π AUTHORS π
J.T. Conklin, Winning Strategies, Inc. We stan. π«Ά
Okay bestie, thatβs the whole manual. Now go forth and interpret those carriage-control characters like the Unix icon you are. π
β with love from the Debian crew, May 9, 2002, ASA(1) π
π¦ where this page comes from
- nixpkgs unstable: developer_cmds 89
- Copyright (c) 1993 Winning Strategies, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms