[devscripts] 01/01: uscan: Suggest the correct syntax in the manpage for the dversionmangle option

Mattia Rizzolo mattia at mapreri.org
Sat Jun 20 13:45:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository devscripts.

commit 7e13e03d044d490f0b14b9bb2258b7954eaf28e2
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sat Jun 20 13:40:52 2015 +0000

    uscan: Suggest the correct syntax in the manpage for the dversionmangle option
    
    Escape a '+' inside a regexp.
    
    Thanks: Martin Erik Werner for reporting
    Closes: #789389
---
 debian/changelog | 5 +++++
 scripts/uscan.1  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8903d49..44612a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,11 @@ devscripts (2.15.6) UNRELEASED; urgency=medium
   [ Dominique Dumont ]
   * licensecheck: fix BSD-2-clause detection
 
+  [ Mattia Rizzolo ]
+  * uscan: Suggest the correct syntax in the manpage for the dversionmangle
+    option, escaping a '+'. Thanks to Martin Erik Werner for reporting.
+    (Closes: #789389)
+
  -- Paul Wise <pabs at debian.org>  Wed, 17 Jun 2015 09:51:15 +0800
 
 devscripts (2.15.5) unstable; urgency=low
diff --git a/scripts/uscan.1 b/scripts/uscan.1
index b90a6dc..bd9d2a7 100644
--- a/scripts/uscan.1
+++ b/scripts/uscan.1
@@ -262,7 +262,7 @@ like `\fBs/-alpha(\ed*)/.a$1/\fR'. These backreferences must use the
 \fBdversionmangle=\fIrules\fR
 This is used to mangle the Debian version number of the currently
 installed package in the same way as the \fBuversionmangle\fR option.
-Thus, a suitable rule might be `\fBs/\+dfsg\ed*$//\fR' to remove a
+Thus, a suitable rule might be `\fBs/\e+dfsg\ed*$//\fR' to remove a
 `\fB+dfsg1\fR' suffix from the Debian version number, or to handle `\fB.pre6\fR'
 type version numbers.  Again, the \fIrules\fR string may not contain
 commas; this should not be a problem.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list