X-Git-Url: https://git.deb.at/?p=pkg%2Fmmv.git;a=blobdiff_plain;f=debian%2Fpatches%2Fman-page-warning-149873.diff;fp=debian%2Fpatches%2Fman-page-warning-149873.diff;h=4f4815e310d3cfb697f2a3c191e1fdc51735470b;hp=0000000000000000000000000000000000000000;hb=0b0c71b9e52eac4f37b6af107b93fd3fdd5becc5;hpb=4f45af16385900f53d5bc5b816c50286d7f152d3 diff --git a/debian/patches/man-page-warning-149873.diff b/debian/patches/man-page-warning-149873.diff new file mode 100644 index 0000000..4f4815e --- /dev/null +++ b/debian/patches/man-page-warning-149873.diff @@ -0,0 +1,45 @@ +Description: Add warnings about #149873 to man page + This patch adds warnings about issues with spaces in patterns and + files when patterns are read from STDIN to the man page +Debian-Bug: 149873 +Author: Axel Beckert +Last-Update: 2012-12-29 + +Index: mmv/mmv.1 +=================================================================== +--- mmv.orig/mmv.1 2012-12-29 02:44:07.591288928 +0100 ++++ mmv/mmv.1 2012-12-29 02:56:01.425012596 +0100 +@@ -234,7 +234,7 @@ + i.e. "mmv \-mk" is allowed. + + .ce +-Multiple Pattern Pairs ++Multiple Pattern Pairs / Reading Patterns from STDIN + .PP + Multiple + .I from +@@ -277,6 +277,11 @@ + (even if it exists) + was already matched by the first pattern pair. + ++\fBWARNING:\fR This operation mode does \fBnot\fR work if the patterns ++itself contain \fBspaces\fR. See ++.I http://bugs.debian.org/149873 ++for details. ++ + .ce + The \fIFrom\fP Pattern + .PP +@@ -592,6 +597,12 @@ + Lines with "(*)" after the target pattern have the effect of enabling \-d + for the files matching this pattern only, + so that such deletions are done silently. ++ ++\fBWARNING:\fR This means that \fBunexpected things\fR may happen if ++\fBfiles\fR matched by the patterns contain \fBspaces\fR. See ++.I http://bugs.debian.org/149873 ++for details. ++ + When feeding + .I mmv + its own output,