aboutsummaryrefslogtreecommitdiff
path: root/_posts/2023-05-15-preview-troff-man-pages.md
blob: 2f0ca820c3122719a69450f2a8a25f59da9af5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title: Previews how man page written in Troff will look like
permalink: /preview-troff-man-pages.html
date: 2023-05-15T12:00:00+02:00
layout: post
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
```