LPTEST(1)
π LPTEST(1) π
okay so bestie, welcome to the manual page for lptest β it lives in section 1 (General Commands Manual) of the Debian man pages, and it's literally the cutest little pattern generator you've ever met. β¨
πΈ NAME πΈ
lptest β generate lineprinter ripple pattern
yes that's it. that's the whole vibe. it makes ripples. she's an icon, she's a legend, and she IS the moment. π
π¦ SYNOPSIS π¦
lptest [length] [count]
β¨ DESCRIPTION β¨
So like, lptest writes the traditional "ripple test" pattern onto standard output. π
Here's the tea though: in 96 lines, this pattern will print all 96 printable ASCII characters in each position. not me doing the math and being obsessed β every single position on the line cycles through the entire printable ASCII alphabet, and it takes exactly 96 lines to come back around. the symmetry?? immaculate. π
Now, was it originally created to test printers? Yes bestie, absolutely. But lowkey it's SO much more useful than that:
- testing terminals π
- driving terminal ports for debugging purposes π
- any other task where a quick supply of random data is needed π
it's giving "one tool, many eras." versatile queen behavior fr fr.
π the length argument
The length argument specifies the output line length β but only if the default length of 79 is inappropriate, iykyk. otherwise she just does her thing at 79. π
π’ the count argument
The count argument specifies the number of output lines to be generated β again, only if the default count of 200 is inappropriate. she's chill like that.
β οΈ IMPORTANT CAVEAT TIME, bestie, pay attention: note that if count is to be specified, length must also be specified. like, you literally cannot skip ahead. no jumping the line. positions are positional. the way that arguments work... π you have to give her the length first, always, periodt.
π HISTORY π
lptest appeared in 4.3BSD. ancient. vintage. historical. a true elder of the Unix ecosystem and we respect her for it. π«Ά
aaaand that's the whole page bestie!! you're now officially certified in ripple pattern generation, go forth and print some lines π¦β¨
this page came to you from the Debian man pages, dated May 31, 2007 β sending you all the love, stay slaying, and remember: length before count, always ππ
π¦ where this page comes from
- debian bookworm: lpr 1:2008.05.17.3+nmu1
- debian trixie: lpr 1:2008.05.17.3+nmu3.1 Β· BSD-3-Clause
- ubuntu jammy: lpr 1:2008.05.17.3+nmu1
- ubuntu noble: lpr 1:2008.05.17.3+nmu1
- ubuntu questing: lpr 1:2008.05.17.3+nmu3.1
- ubuntu resolute: lpr 1:2008.05.17.4 Β· BSD-3-Clause
- ubuntu stonking: lpr 1:2008.05.17.4 Β· BSD-3-Clause
- Copyright (c) 1985, 1990, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms