chiark / gitweb /
etch -> stable; add lenny
[bin.git] / cancel-this
1 #! /bin/sh
2
3 MSGID=`grep -i '^Message-ID: ' | sed 's/^Message-ID: //' | head -n 1`
4
5 echo 'Locally cancelling a post with the following Message-ID:'
6 echo "  $MSGID"
7 [ "$1" = "test" ] || ctlinnd cancel "$MSGID"