DEROFF(1)

πŸ“¦ version 1.053, in alpine 3.24

🌸 NAME 🌸

Okay bestie, welcome to deroff(1) β€” straight out of the User Contributed Perl Documentation corner of the universe. It's a little text-cleanup icon whose whole thing is literally strip troff, eqn and tbl sequences from text. No cap, she's here to declutter your weird markup soup. πŸ’…


✨ SYNOPSIS ✨

deroff [ -w ] [ file ] ...

πŸ’– DESCRIPTION πŸ’–

So here's the tea, fr fr: deroff reads the given files β€” or standard input if you don't hand it any files β€” and strips all troff control lines, comments, and escape sequences. Not only that, but all constructs for eqn (equation macros) and tbl (table macros) are deleted. It's giving "cleanup crew, but make it text." 🧹✨

The troff .so and .nx commands are followed to include other files β€” and yes, only once for each file. Lowkey important, iykyk.

  • -w β€” this flag causes deroff to print only words, one per line. Words are considered to start with a letter and contain letters, digits or apostrophes β€” but no trailing apostrophe, bestie. Also, single character words are ignored. Periodt. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

If you wanna go deeper, the manual points you to the whole squad:

  • troff
  • eqn
  • tbl

That's the see-also lineup, no extras, no surprises. 🌈

πŸ’€ BUGS πŸ’€

Not me quoting the manual, but it says deroff is a simpleton and does not attempt to interpret troff constructs. So like… she's not doing math on your macros, she's just vibing and stripping. πŸ™ˆπŸ’€


That's the whole page, bestie 🫢 β€” signed by perl v5.42.2, dated 2026-02-15, and filed under DEROFF(1). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from