diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-24 05:57:50 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-24 05:57:50 +0200 |
| commit | b3dfbe8b70b870399dc335b8dcf028bb9a3955de (patch) | |
| tree | cd9b9aaa0445d4641356227866827f2d828a1517 /content/notes/preview-troff-man-pages.md | |
| parent | 660cebf99b4317856401acda8238bff75f82c4cc (diff) | |
| download | mitjafelicijan.com-b3dfbe8b70b870399dc335b8dcf028bb9a3955de.tar.gz | |
Added notes as a separate type of content and moved the content
Diffstat (limited to 'content/notes/preview-troff-man-pages.md')
| -rw-r--r-- | content/notes/preview-troff-man-pages.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/content/notes/preview-troff-man-pages.md b/content/notes/preview-troff-man-pages.md new file mode 100644 index 0000000..6ff1124 --- /dev/null +++ b/content/notes/preview-troff-man-pages.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | --- | ||
| 2 | title: Previews how man page written in Troff will look like | ||
| 3 | url: preview-troff-man-pages.html | ||
| 4 | date: 2023-05-15 | ||
| 5 | type: notes | ||
| 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 | ``` | ||
