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

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
```