Module Name:    src
Committed By:   uwe
Date:           Mon Dec  2 16:38:37 UTC 2019

Modified Files:
        src/distrib/notes/common: extract-contrib-string.pl

Log Message:
Collapse multiple spaces between words.
There are a few entries with "by__Name" that affects sorting.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/notes/common/extract-contrib-string.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/common/extract-contrib-string.pl
diff -u src/distrib/notes/common/extract-contrib-string.pl:1.14 src/distrib/notes/common/extract-contrib-string.pl:1.15
--- src/distrib/notes/common/extract-contrib-string.pl:1.14	Mon May 26 08:11:41 2008
+++ src/distrib/notes/common/extract-contrib-string.pl	Mon Dec  2 16:38:37 2019
@@ -236,6 +236,10 @@ while(<>) {
 		$msg =~ s/^\"//o;
 		$msg =~ s/\"$//o;
 
+		# Collapse multiple spaces between words.  There are a
+		# few entries with "by__Name" that affects sorting.
+		$msg =~ s/(\w)  +(\w)/$1 $2/g;
+
 		# Split up into separate paragraphs
 		#
 		$msgs=$msg;

Reply via email to