randtype(1)

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

πŸ’– NAME πŸ’–

randtype β€” Output characters or lines at random intervals 🎲✨


🌸 SYNOPSIS 🌸

randtype [ -l ] [ -d ,|.<string> [ -k ] ] [ -t <ms,mult> ] [ -w <string>
[ -c ms,mult ] ] [ -r s1,s2[:...]  ] [ -n <string> ] [ -q <int> ] [ -m
<int> ] [ file ...  ]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, here's the whole vibe: randtype reads input from either standard input or from a file and then outputs every single character β€” or every single line β€” at random intervals πŸŽ€. It's giving "I typed this live but actually I didn't."

And if you hand it multiple files? It reads each one in sequence, one after another, no drama πŸ’….


✨ OPTIONS ✨

randtype recognizes the following command line options:

  • -c ms,mult β€” this one is optional and only really hangs out with the -w option 🫢. It takes the same microsecond and multiplier value format as -t does. The default for this option is specified at compile time (so like, whatever it was built with, not something you can peek at here).
  • -d string β€” outputs everything before (left) or after (right) the specified string immediately ⚑. The string must begin with either , or . β€” and those little guys are what tells it the direction: , means left, . means right. periodt.
  • -h β€” prints a summary of the command line options and then dips out πŸ‘‹. Your little help bestie.
  • -k β€” suppresses output of the string specified by the dump string option πŸ™ˆ. Basically: do the magic, but don't show the magic.
  • -l β€” outputs lines rather than characters πŸ“œ. Heads up though β€” when you use this one, only the -t and -q options are valid, and all other options are ignored. Like, literally ignored. Don't come for me.
  • -m int β€” generates random mistakes πŸ˜­πŸ’€. The int value is how many times to compare and match the next character against a randomly generated character. So yes, it can fumble on purpose. It's giving typo but make it art.
  • -n chars β€” outputs the specified characters immediately with no random waiting ✨. Instant. No suspense. Straight to the point.
  • -r s1,s2[:...] β€” replaces the string s1 with the string s2 πŸ”. You can stack a whole bunch of replacements by separating them with a : β€” so s1,s2:s3,s4:... and so on. Mix and match, go off.
  • -q int β€” quits the program after this many seconds ⏰. Set a timer, girl.
  • -t ms,mult β€” the moment we've all been waiting for πŸ‘‘. This option refines the random delay of output. The value of the argument is separated by a comma, with the first argument being a microsecond and the second being a multiplier of a random number between 0 and the microsecond. Want that classic character-per-second effect? Set the microsecond to 0 and the multiplier to 1000000 πŸŽ€. The default for this option is specified at compile time.
  • -v β€” displays version information and exits 🌈. Quick lil flex then bye.
  • -w chars β€” the inverse of the -n option, bestie πŸ”„. Instead of skipping the wait, this one waits on the specified characters. And you can use the -c option to refine the random delay of output πŸ’….

πŸŽ€ EXAMPLE πŸŽ€

randtype -t 13,16000 -d ",*MAGIC*" -k -n '0ou' filename

look at her go 🫢✨


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

This program was created by bjk <bjk@arbornet.org> and released under the terms of the GNU General Public License version 2 or later πŸ«ΆπŸ“œ.


and that's the whole page, bestie β€” this was randtype from section 1, General Commands Manual (yes, randtype(1), iykyk), footer and all, no date attached so just pretend it's timeless πŸ’…βœ¨ no cap, go type something random πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from