[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sat Jun 4 13:54:01 MDT 2011


The branch, master has been updated
       via  810dc9f Don't force \(em in the manpages.  Fixes bug 7941.
      from  d80f7d6 Add a colon if a non-empty pre-xfer exec message follows.

;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 810dc9fc2ae375a52abd4a4e0027311fdf3046a6
Author: Wayne Davison <wayned at samba.org>
Date:   Sat Jun 4 12:53:10 2011 -0700

    Don't force \(em in the manpages.  Fixes bug 7941.

-----------------------------------------------------------------------

Summary of changes:
 tweak_manpage |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)


Changeset truncated at 500 lines:

diff --git a/tweak_manpage b/tweak_manpage
index f10d2a0..4c55c51 100755
--- a/tweak_manpage
+++ b/tweak_manpage
@@ -1,19 +1,10 @@
 #!/usr/bin/perl -i -p
 
-# Make some hyphens unbreakable.
-s{(--\w[-\w]+)}{ $x = $1; $x =~ s/-/\\-/g; $x }eg;
-s/(?<!\\)-(['"\d*])/\\-$1/g;
-s#(['"(= /,])-(?!-)#$1\\-#g;
-s/(\\fB)-/$1\\-/g;
-s/(\[\w)-(\w\])/$1\\-$2/g;
-s{(\\f\(CW.*?\\fP)}{ $x = $1; $x =~ s/(?<!\\)-/\\-/g; $x }eg;
-s/(\.\w+)-/$1\\-/g;
+use strict;
+use warnings;
 
 # We only need to use "\&'" or "\&." at the start of a line.
-s/(?<=.)\\\&(['.])/$1$2/g;
-
-# Use an em-dash where appropriate.
-s/ \\?-{1,2} / \\(em /g;
+s/(?<=.)\\\&(['.])/$1/g;
 
 # Some quotes turn into open/close quotes.
 s/'(.)'/\\(oq$1\\(cq/g;


-- 
The rsync repository.


More information about the rsync-cvs mailing list