chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bcbefa9b92ebd92f1c035335c54562fc7d0f0164
[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"