I used to write a fair amount of AWK code back in the day. It was great for one-liners, but I wrote some more elaborate programs in it too. I treated it seriously, like a real programming language, and it served me well.<p>My favorite AWK program was probably my LaserJet II code listing program from 1991. I wrote this out of frustration with the terrible default listings I got when I printed source code. The AWK code did a &quot;two-up&quot; printout of source code: two pages of code per page of paper in landscape mode. It used a nice font and drew graphic boxes around the pages. I was in the habit of using separator lines like this in my code:<p>&#x2F;&#x2F;-------------------------------------<p>So the program found these and changed them to graphic line separators. It also avoided splitting a function onto two pages if it could - it would leave whitespace at the bottom of a page instead, filled in with a faint dot pattern.<p>Somewhere I have a printout I made with this program; I was hoping to find it and scan it in to show what it looked like. I know it&#x27;s here somewhere, but in the meantime the source code will have to do:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;geary&#x2F;awk&#x2F;blob&#x2F;master&#x2F;LJPII.AWK" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;geary&#x2F;awk&#x2F;blob&#x2F;master&#x2F;LJPII.AWK</a><p>Of course, these days I hardly ever print out any code. But back then we printed <i>everything</i>.