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