summaryrefslogtreecommitdiffstats
path: root/manuals.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 19:43:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 19:43:02 +0000
commitb00fcba133e2170f5308eb02bfa9b9b8d7dea0a0 (patch)
treecc2381829bd6658e8c0cd731faafa3e3bc1a0ac2 /manuals.7
parent5226c4fdcd61545e72ba42ed649a213a893e2411 (diff)
downloadmandoc-b00fcba133e2170f5308eb02bfa9b9b8d7dea0a0.tar.gz
main.c using fprintf instead of warnx for parse errors (like cc).
Error string is now file:line:col: message. Removed sed from vim -q example in manuals.7. Fixed column reporting (off by one).
Diffstat (limited to 'manuals.7')
-rw-r--r--manuals.73
1 files changed, 1 insertions, 2 deletions
diff --git a/manuals.7 b/manuals.7
index 37d13737..9cb6ada1 100644
--- a/manuals.7
+++ b/manuals.7
@@ -113,8 +113,7 @@ The quick-fix feature of
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
+ ./path/to/manuals/* 2>&1 > /tmp/mandoc.errs
% vim -q /tmp/mandoc.errs
.Ed
.Pp