diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-27 18:37:36 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-27 18:37:36 +0200 |
commit | b23a1093b73e16f1b69e5d8d05c9e3dcf8ee5d65 (patch) | |
tree | 7561a64156f244bda61c14a1b673c028e3f27d74 /list/list.1 | |
parent | e8086631ecabb0018062c1b8a519a2fa265c92f9 (diff) | |
download | mk-b23a1093b73e16f1b69e5d8d05c9e3dcf8ee5d65.tar.gz |
Add 'list' utility
Diffstat (limited to 'list/list.1')
-rw-r--r-- | list/list.1 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/list/list.1 b/list/list.1 new file mode 100644 index 0000000..085bb20 --- /dev/null +++ b/list/list.1 @@ -0,0 +1,43 @@ +.Dd $Mdocdate$ +.Dt list 1 +.Os +.Sh NAME +.Nm list +.Nd escape code listings for troff +. +.Sh SYNOPSIS +.Nm +.Op Fl p=prefix +.Op Fl s=suffix +.Op Fl E +.Op Ar file +.Sh DESCRIPTION +.Pp +.Nm +escapes text between +.Ql .l( +and +.Ql .l) +lines for +.Xr troff 1 . +.Pp +Lines beginning with +.Ql \\\\! +are copied verbatim, unless the +.Fl E +flag is given. +.Pp +Text given to +.Fl p +and +.Fl s +is inserted on a new line before and after each code block. +This text is not escaped and can contain arbitrary +.Xr troff 1 +requests. +. +.Sh AUTHORS +.Pp +.Nm +is written by John Ankarström +.Aq Mt "john (at) ankarstrom.se" . |