aboutsummaryrefslogtreecommitdiff
path: root/content/notes/2023-05-15-preview-troff-man-pages.md
blob: 330ce51234637975bba9ff92c3f7cf24eeb679b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
title: Previews how man page written in Troff will look like
url: preview-troff-man-pages.html
date: 2023-05-15T12:00:00+02:00
type: note
draft: false
tags: [troff]
---

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.

```sh
# On Linux system.
groff -man -Tascii filename

# On Plan9 system.
man 1 filename
```