LPTEST(1)

πŸ“¦
version 2008.05.17.4 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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