Previews how man page written in Troff will look like

note, May 15, 2023 on Mitja Felicijan's blog

Troff is used to write man pages and it is difficult to read it so this will preview how it will look like when it is rendered.

# On Linux system.
groff -man -Tascii filename

# On Plan9 system.
man 1 filename