From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 1/3] doc: check-man: use COLUMNS env for width
Date: Wed, 16 Oct 2019 11:14:49 +0000 [thread overview]
Message-ID: <20191016111451.32255-2-e@80x24.org> (raw)
In-Reply-To: <20191016111451.32255-1-e@80x24.org>
That's the environment documented in ncurses(3) and man(1) from
the man-db.nongnu.org distribution of man.
---
Documentation/include.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/include.mk b/Documentation/include.mk
index 2878422c..07b9f2a3 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -92,7 +92,7 @@ doc_install :: install-man
# n.b. not sure if our usage of man(1) is portable or not, so not
# enabled by default "check" target:
# check :: check-man
-check_man = @echo CHECK80 $<;COLS=80 $(MAN) ./$^ | \
+check_man = @echo CHECK80 $<;COLUMNS=80 $(MAN) ./$^ | \
$(AWK) '{gsub(/\b./,"")}length>80{print;err=1}END{exit(err)}' >&2
%.1.cols : %.1; $(check_man)
next prev parent reply other threads:[~2019-10-16 11:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 11:14 [PATCH 0/3] another round of doc updates Eric Wong
2019-10-16 11:14 ` Eric Wong [this message]
2019-10-16 11:14 ` [PATCH 2/3] doc: update public-inbox-overview(7) for v2 Eric Wong
2019-10-17 7:42 ` Eric Wong
2019-10-16 11:14 ` [PATCH 3/3] doc: avoid [<directory>] arg for git-clone(1) Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191016111451.32255-2-e@80x24.org \
--to=e@80x24.org \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).