[SCM] The rsync repository. - branch b3.0.x updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Sat Jun 4 13:53:21 MDT 2011
The branch, b3.0.x has been updated
via 365124a Don't force \(em in the manpages. Fixes bug 7941.
from dbf68ca Linux needs symlink xattrs. Fixes bug 8201.
;a=shortlog;h=b3.0.x
- Log -----------------------------------------------------------------
commit 365124a2144e7bebfe9857bbb070953cac9798b1
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