Package: procmail / 3.22-24

25 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Santiago Vila <sanvila@debian.org>
Subject: Changed mailstat to use [:alnum:] instead of 0-9A-Za-z
Bug-Debian: http://bugs.debian.org/337048
X-Debian-version: 3.22-19

--- a/examples/mailstat
+++ b/examples/mailstat
@@ -190,16 +190,16 @@
 then
   $sed	-e '/^From /d' -e '/^ [Ss][uU][bB][jJ][eE][cC][tT]:/d' \
    -e '/^  Folder/s/		*/	/' \
-   -e '/^  Folder/s/\/msg\.[-0-9A-Za-z_][-0-9A-Za-z_]*	/\/	/' \
-   -e '/^  Folder/s/\/new\/[-0-9A-Za-z_][-0-9A-Za-z_.,+:%@]*	/\/	/' \
+   -e '/^  Folder/s/\/msg\.[-[:alnum:]_][-[:alnum:]_]*	/\/	/' \
+   -e '/^  Folder/s/\/new\/[-[:alnum:]_][-[:alnum:]_.,+:%@]*	/\/	/' \
    -e '/^  Folder/s/\/[0-9][0-9]*	/\/.	/' \
    -e 's/^  Folder: \(.*\)/\1/' -e t -e 's/	/\\t/g' \
    -e 's/^/ ## /' $OLDLOGFILE | $sort | $awk "$awkscript" -
 else
   $sed	-e '/^From /d' -e '/^ [Ss][uU][bB][jJ][eE][cC][tT]:/d' \
    -e '/^  Folder/s/		*/	/' \
-   -e '/^  Folder/s/\/msg\.[-0-9A-Za-z_][-0-9A-Za-z_]*	/\/	/' \
-   -e '/^  Folder/s/\/new\/[-0-9A-Za-z_][-0-9A-Za-z_.,+:%@]*	/\/	/' \
+   -e '/^  Folder/s/\/msg\.[-[:alnum:]_][-[:alnum:]_]*	/\/	/' \
+   -e '/^  Folder/s/\/new\/[-[:alnum:]_][-[:alnum:]_.,+:%@]*	/\/	/' \
    -e '/^  Folder/s/\/[0-9][0-9]*	/\/.	/' \
    -e 's/^  Folder: \(.*\)/\1/' -e t \
    -e 's/.*/ ## diagnostic messages ##/' $OLDLOGFILE | $sort | \