-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: devscripts
Version: 2.10.49
Severity: minor
Tags: patch

- --- Please enter the report below this line. ---
In the man page for 'uscan', the example for the option 'uversionmangle'
 claims:

> Thus,  suitable  rules  might be ‘s/^/0./’ to
> prepend ‘0.’ to the version number and ‘s/_/./’ to change under‐
> scores into periods.

This will change the FIRST underscore to a period and leave the rest.
The correct regex is 's/_/./g'

- - Jason Heeris

- --- System information. ---
Architecture: amd64
Kernel: Linux 2.6.29.090420

Debian Release: squeeze/sid
500 unstable ftp.iinet.net.au
500 testing www.debian-multimedia.org
500 testing security.debian.org
500 testing ftp.iinet.net.au
500 testing ftp.debian-unofficial.org
500 squeeze www.lamaresh.net

- --- Package information. ---
Depends (Version) | Installed
=======================-+-===========
dpkg-dev | 1.14.26
perl | 5.10.0-22
libc6 (>= 2.2.5) | 2.9-4

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoZM64ACgkQhO+sBY8FSyINFQCcCgVxQNLwiY17BjKfIWu7brl/
iQgAnj1xwTj8LjNX6voDky8B4DarYoi4
=S+3f
-----END PGP SIGNATURE-----
--- scripts/uscan.1	2008-12-03 04:50:38.000000000 +0900
+++ scripts/uscan.1	2009-05-24 19:37:33.000000000 +0800
@@ -233,7 +233,7 @@
     $version =~ \fIrule\fR;
 .fi
 for each rule.  Thus, suitable rules might be `s/^/0./' to prepend
-`0.' to the version number and `s/_/./' to change underscores into
+`0.' to the version number and `s/_/./g' to change all underscores into
 periods.  Note that the \fIrules\fR string may not contain commas;
 this should not be a problem.
 .TP

Attachment: uscan.1.patch.sig
Description: PGP signature

Reply via email to