roff2html(1)
π roff2html β the glow-up your roff code deserves π
okay bestie, so you've got roff code and you want it looking cute on the web? this is literally the tool. it lives in the General Commands Manual section, and it's about to be your new fave.
β¨ NAME β¨
roff2html β transform roff code into html mode π¦
β¨ SYNOPSIS β¨
roff2html --help```
roff2html --version```
so here's the tea, bestie βοΈ β the options `-v` and `--version` print the version information of the program to <cyan>standard output</cyan> and then exit, like a queen leaving the group chat. and `-h` and `--help` print a usage information of the program to standard output and stop the program <hotpink>instantly</hotpink> β no lingering, no "one more thing," just done. π
every other option? assumed to be <purple>groffer options</purple>. they get internally passed to `groffer`, and they override the behavior of the program. they're optional too β you can literally just not include them, no pressure, she's flexible like that. π«Ά
and the *filespec* arguments correspond to the filespec arguments of `groffer`. so they're either the names of existing, readable files or `-` for standard input, or the name of a man page or a `groffer(1)` man page search pattern. no filespec at all? then standard input is assumed automatically. iconic behavior honestly. πΈ
---
# β¨ DESCRIPTION β¨
`roff2html` transforms roff code into html mode. print the result to standard output. that's it, that's the whole vibe. π
and bestie β there are <rainbow>more of these programs</rainbow> for generating other formats of roff input. it's a whole squad. let me introduce you:
- `roff2dvi(1)` β is for dvi mode.
- `roff2pdf(1)` β outputs pdf mode.
- `roff2ps(1)` β prints PostScript format to standard output.
- `roff2text(1)` β generates text output in the groff device `latin1`.
- `roff2x(1)` β prints the output in the groff device `X` that is suitable for programs like `gxditview(1)` or `xditview(1)`.
not me listing the whole family tree π they're all so valid.
---
# β¨ AUTHORS β¨
`roff2html` was written by <purple>Bernd Warken</purple>. thank you for your service king π«‘π
---
# β¨ SEE ALSO β¨
`groff(1)`, `groffer(1)`, `roff2dvi(1)`, `roff2pdf(1)`, `roff2ps(1)`, `roff2text(1)`, `roff2x(1)`, `gxditview(1)`.
go read them, bestie, iykyk πβ¨
---
> and that's the whole page, fr fr β no notes, no cap. π
okay so this was `roff2html` from **groff 1.22.4**, dated **23 March 2022**. slay, go convert something pretty. πππ
π¦ where this page comes from
- ubuntu jammy: groff 1.22.4-8build1
- Copyright (C) 2006-2018 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms