diff options
Diffstat (limited to '_posts/notes/2023-05-15-preview-troff-man-pages.md')
| -rw-r--r-- | _posts/notes/2023-05-15-preview-troff-man-pages.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_posts/notes/2023-05-15-preview-troff-man-pages.md b/_posts/notes/2023-05-15-preview-troff-man-pages.md new file mode 100644 index 0000000..2f0ca82 --- /dev/null +++ b/_posts/notes/2023-05-15-preview-troff-man-pages.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | --- | ||
| 2 | title: Previews how man page written in Troff will look like | ||
| 3 | permalink: /preview-troff-man-pages.html | ||
| 4 | date: 2023-05-15T12:00:00+02:00 | ||
| 5 | layout: post | ||
| 6 | type: note | ||
| 7 | draft: false | ||
| 8 | tags: [troff] | ||
| 9 | --- | ||
| 10 | |||
| 11 | Troff is used to write man pages and it is difficult to read it so this will | ||
| 12 | preview how it will look like when it is rendered. | ||
| 13 | |||
| 14 | ```sh | ||
| 15 | # On Linux system. | ||
| 16 | groff -man -Tascii filename | ||
| 17 | |||
| 18 | # On Plan9 system. | ||
| 19 | man 1 filename | ||
| 20 | ``` | ||
| 21 | |||
