mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-06 16:42:43 +00:00
Don't abuse "`" to mean open quote.
This was appropriate before Unicode, where "`" and "'" often balanced in visual output, but that's been obsolete for a while. Overall, single-quote 'like this' instead of `like this', and double-quote "like this" or (in typeset output) “like this” instead of ``like this''. While we're at it, fix some glitches with hyphens versus minus versus en dash versus em dash. * Makefile ($(MANTXTS)): Use UTF-8 locale to produce *.txt output. * checktab.awk, tzselect.ksh: Quote 'like this' in diagnostics, instead of `like this'. * date.1, newctime.3, newtzset.3, time2posix.3, zic.8 (q, lq, rq): New macros. Use them for better double-quoting in output. * workman.sh: Tell Perl that its stdin and stdout are UTF-8. * NEWS: Document this.
This commit is contained in:
@ -14,6 +14,8 @@ echo ".am TH
|
||||
..
|
||||
.rm }H
|
||||
.rm }F" | nroff -man - ${1+"$@"} | perl -ne '
|
||||
binmode STDIN, '\'':encoding(utf8)'\'';
|
||||
binmode STDOUT, '\'':encoding(utf8)'\'';
|
||||
chomp;
|
||||
s/.\010//g;
|
||||
s/\s*$//;
|
||||
|
||||
Reference in New Issue
Block a user