diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-27 13:10:08 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-27 13:10:08 +0000 |
commit | 5226c4fdcd61545e72ba42ed649a213a893e2411 (patch) | |
tree | 093970852bdbb48a723e18ad495619b858f8ea5e /manuals.7 | |
parent | 1d1eaff780bcc4af2a8048cec63b5e2bedf16337 (diff) | |
download | mandoc-5226c4fdcd61545e72ba42ed649a213a893e2411.tar.gz |
Re-ordered ascii.in looking for dupes.
Added `vim -q' tip to manuals.7 (thanks uqs@sporlein.net).
ifdef'd production of missing specials/predefines.
Diffstat (limited to 'manuals.7')
-rw-r--r-- | manuals.7 | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -106,7 +106,17 @@ for this document. Rename the template file: .Ss Development Tools While writing, make sure that your manual is correctly structured: .Pp -.Dl % mandoc \-Tlint \-Wall name.1 +.Dl % mandoc \-Tlint \-Wall \-fstrict name.1 +.Pp +The quick-fix feature of +.Xr vim 1 +is useful for checking over many manuals: +.Bd -literal -offset indent +% mandoc \-Wall \-fstrict \-Tlint \-fign-errors \e + `find /usr/src \-name \e*\e.[1-9]` 2>&1 | \e + sed 's!^mandoc: !!' > /tmp/mandoc.errs +% vim -q /tmp/mandoc.errs +.Ed .Pp You may spell-check your work as follows: .Pp |