[tz] [PATCH] Fix "el ds" typo in man pages

Paul Eggert eggert at cs.ucla.edu
Tue Dec 14 17:47:51 UTC 2021


This fixes a typo that I introduced in 2014 when fixing glitches with
'-' and italics in man pages.  The typo is visible only when using
traditional troff (as opposed to groff-compatible processors).
---
 date.1        | 2 +-
 newctime.3    | 2 +-
 newstrftime.3 | 2 +-
 newtzset.3    | 2 +-
 time2posix.3  | 2 +-
 tzfile.5      | 2 +-
 tzselect.8    | 2 +-
 zdump.8       | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/date.1 b/date.1
index 432cab1..1ecd63a 100644
--- a/date.1
+++ b/date.1
@@ -5,7 +5,7 @@ date \- show and set date and time
 .if n .nh
 .if n .na
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B date
 [
 .B \*-u
diff --git a/newctime.3 b/newctime.3
index cc56e2c..1b1790f 100644
--- a/newctime.3
+++ b/newctime.3
@@ -4,7 +4,7 @@ asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time
 .SH SYNOPSIS
 .nf
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B #include <time.h>
 .PP
 .BR "extern char *tzname[];" " /\(** (optional) \(**/"
diff --git a/newstrftime.3 b/newstrftime.3
index 887aba5..d68bc33 100644
--- a/newstrftime.3
+++ b/newstrftime.3
@@ -41,7 +41,7 @@ strftime \- format date and time
 .SH SYNOPSIS
 .nf
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B #include <time.h>
 .PP
 .B "size_t strftime(char *restrict buf, size_t maxsize,"
diff --git a/newtzset.3 b/newtzset.3
index 05aa350..8aaa0ff 100644
--- a/newtzset.3
+++ b/newtzset.3
@@ -4,7 +4,7 @@ tzset \- initialize time conversion information
 .SH SYNOPSIS
 .nf
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B #include <time.h>
 .PP
 .B timezone_t tzalloc(char const *TZ);
diff --git a/time2posix.3 b/time2posix.3
index fbb5766..2ea7edc 100644
--- a/time2posix.3
+++ b/time2posix.3
@@ -4,7 +4,7 @@ time2posix, posix2time \- convert seconds since the Epoch
 .SH SYNOPSIS
 .nf
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B #include <time.h>
 .PP
 .B time_t time2posix(time_t t);
diff --git a/tzfile.5 b/tzfile.5
index e2f11b4..550b31d 100644
--- a/tzfile.5
+++ b/tzfile.5
@@ -10,7 +10,7 @@ tzfile \- timezone information
 \\$3\*(lq\\$1\*(rq\\$2
 ..
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 The timezone information files used by
 .BR tzset (3)
 are typically found under a directory with a name like
diff --git a/tzselect.8 b/tzselect.8
index a1ec8d0..69514e2 100644
--- a/tzselect.8
+++ b/tzselect.8
@@ -3,7 +3,7 @@
 tzselect \- select a timezone
 .SH SYNOPSIS
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 .B tzselect
 [
 .B \*-c
diff --git a/zdump.8 b/zdump.8
index a5e2042..131a6cb 100644
--- a/zdump.8
+++ b/zdump.8
@@ -17,7 +17,7 @@ zdump \- timezone dumper
 \\$3\*(lq\\$1\*(rq\\$2
 ..
 .ie \n(.g .ds - \f(CW-\fP
-.el ds - \-
+.el .ds - \-
 The
 .B zdump
 program prints the current time in each
-- 
2.32.0



More information about the tz mailing list