doubled-word typos in timezone/europe and southamerica

Jim Meyering jim at meyering.net
Mon Apr 11 15:50:52 UTC 2011


This fixes three instances of doubled words
in the "europe" and "southamerica" files.
I noticed these in glibc's files, which may well
be out of date.  FYI, I ran this command to spot candidates:

  git ls-files |xargs perl -0777 -n \
    -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \
    -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g;' \
    -e 'print "$ARGV:$n:$v\n"}'

--------------------------
Remove doubled words in comments, e.g., s/do do/do/, s/the the/the/

diff --git a/europe b/europe
index 3f39215..2bec186 100644
--- a/europe
+++ b/europe
@@ -146,7 +146,7 @@
 # A monument to Willett was unveiled on 1927-05-21, in an open space in
 # a 45-acre wood near Chislehurst, Kent that was purchased by popular
 # subscription and open to the public.  On the south face of the monolith,
-# designed by G. W. Miller, is the the William Willett Memorial Sundial,
+# designed by G. W. Miller, is the William Willett Memorial Sundial,
 # which is permanently set to Summer Time.

 # From Winston Churchill (1934-04-28):
@@ -1761,7 +1761,7 @@ Zone	Europe/Oslo	0:43:00 -	LMT	1895 Jan  1
 #
 # All these events predate our cutoff date of 1970.  Unless we can
 # come up with more definitive info about the timekeeping during the
-# war years it's probably best just do do the following for now:
+# war years it's probably best just do the following for now:
 Link	Europe/Oslo	Arctic/Longyearbyen

 # Poland
diff --git a/southamerica b/southamerica
index 341e57f..96d844e 100644
--- a/southamerica
+++ b/southamerica
@@ -682,7 +682,7 @@ Zone	America/La_Paz	-4:32:36 -	LMT	1890
 #
 # As a result of the above Decree I believe the America/Rio_Branco
 # timezone shall be modified from UTC-5 to UTC-4 and a new timezone shall
-# be created to represent the the west side of the Para State. I
+# be created to represent the west side of the Para State. I
 # suggest this new timezone be called Santarem as the most
 # important/populated city in the affected area.
 #



More information about the tz mailing list