Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common Drop the final quote if followed by dot.



details:   https://anonhg.NetBSD.org/src/rev/f0e87e345dd3
branches:  trunk
changeset: 846883:f0e87e345dd3
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Dec 03 13:41:56 2019 +0000

description:
Drop the final quote if followed by dot.

diffstat:

 distrib/notes/common/extract-contrib-string.pl |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a3528ea316cc -r f0e87e345dd3 distrib/notes/common/extract-contrib-string.pl
--- a/distrib/notes/common/extract-contrib-string.pl    Tue Dec 03 13:37:50 2019 +0000
+++ b/distrib/notes/common/extract-contrib-string.pl    Tue Dec 03 13:41:56 2019 +0000
@@ -256,6 +256,7 @@
                $msg =~ s/''\s*$//;
                $msg =~ s/^\"//o;
                $msg =~ s/\"$//o;
+               $msg =~ s/\"\.$/./o;
 
                # Fix ISO-646-SE spelling of Lule\[oa]
                $msg =~ s/Lule\}/Lulea/g;



Home | Main Index | Thread Index | Old Index