[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bug closed by spam for the second times



Gentlemen, I can't take it anymore. That's why I hand it to
$ cat spam-bug-reopener
#!/bin/sh -eu
#reopen a Debian bug closed by spam, which you feed in via stdin
bug=$(
 perl -nwe 'if (s/^X-Debian-PR-Message: they-closed (\d+)$/$1/){print;exit}')
if test $bug
then
    echo reopen $bug|
    mail -s "Reopening $bug closed by spam" control@bugs.debian.org
else echo $0: no bug number found. 1>&2; exit 1
fi


Reply to: