TC2TEXT(1)

πŸ“¦
version 1.04 Β· 2 versions
, in debian bookworm, ubuntu noble

πŸ’– TC2TEXT(1) πŸ’–

okay bestie, so this is the page for tc2text from the General Commands Manual (section 1, we're fancy like that ✨). Pull up a chair, grab a boba, and let's get into it πŸ§‹


🌸 NAME 🌸

tc2text β€” convert troffcvt output to ASCII text πŸ’…


✨ SYNTAX ✨

tc2text [ options ] file ...  ]

(no cap, that trailing ] is literally just sitting there in the original. she stays. πŸ‘‘)


πŸ¦‹ DESCRIPTION πŸ¦‹

So tc2text is a postprocessor for troffcvt, and what she does is take troffcvt output and turn it into ASCII text. That's the whole gig. It's giving "translator but for your terminal." πŸ”₯

The way you usually meet her is not by calling her directly β€” normally you're just running the troffcvt front end unroff, and she gets invoked behind the scenes like a lil backstage main character. 🌈

tc2text understands the following options:

  • -D β€” Enable debugging output. πŸ‘€ she's telling you everything.
  • -E β€” Cause tc2text to echo token information to stderr as tokens are read from troffcvt. every token, out loud, to stderr. she's narrating. πŸŽ™οΈ
  • -T title β€” Specify a title for the document. Super useful for docs that don't contain any recognizable title. But heads up: if the document does contain a title, then it gets overridden by this. so -T wins, periodt. πŸ’₯

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, iykyk 🫢


πŸ’€ WHO-TO-BLAME πŸ’€

Paul DuBois, dubois@primate.wisc.edu.

(not me dropping the email exactly as-is, but fr fr if something's wrong, that's the person to bother πŸ™ˆ)


🚨 BUGS 🚨

okay so this part is important, listen up:

tc2text uses a set of special macros that tell troffcvt how to generate tc2text-specific output that indicates text structural elements.

These macros do not work in compatibility mode. ⚠️ like, at all. don't come for her, she told you.

and that's the whole page bestie!! πŸŒΈπŸŽ€ she's a cute lil section 1 manual page from the General Commands Manual β€” TC2TEXT(1), no date listed, just vibes. now go convert something. slay. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from