* [PATCH 1/2] Makefile.pl: *.cols: account for non-UTF-8-aware awk
2023-07-27 21:18 5% [PATCH 0/2] minimal system fixes Eric Wong
@ 2023-07-27 21:18 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-07-27 21:18 UTC (permalink / raw)
To: meta
When checking line length limits, the `length()' function of
mawk doesn't count non-ASCII characters properly in UTF-8
locales. Force the man(1) output to use C locale and use normal
`-' instead of multi-byte dash characters.
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 579245a1..710d705d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -81,7 +81,7 @@ for my $i (@sections) {
$t->{"Documentation/$m.html : $txt"} = [ "\$(txt2pre) <$txt",
"touch -r $txt \$@" ];
$t->{".$m.cols : $m.$i"} = [
- "\@echo CHECK80 $m.$i;".
+ "\@echo CHECK80 $m.$i; LC_ALL=C LANG=C ".
"COLUMNS=80 \$(MAN) ./$m.$i | \$(check_man)",
'>$@' ];
$t->{".$m.lexgrog: $m.$i"} = [
^ permalink raw reply related [relevance 7%]
* [PATCH 0/2] minimal system fixes
@ 2023-07-27 21:18 5% Eric Wong
2023-07-27 21:18 7% ` [PATCH 1/2] Makefile.pl: *.cols: account for non-UTF-8-aware awk Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-07-27 21:18 UTC (permalink / raw)
To: meta
Eric Wong (2):
Makefile.pl: *.cols: account for non-UTF-8-aware awk
clone: allow running without DBI / DBD::SQLite
Makefile.PL | 2 +-
lib/PublicInbox/LeiQuery.pm | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-07-27 21:18 5% [PATCH 0/2] minimal system fixes Eric Wong
2023-07-27 21:18 7% ` [PATCH 1/2] Makefile.pl: *.cols: account for non-UTF-8-aware awk Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
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).