chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1009b35e96a473aed0bc74044e3e1fcdcb339d1f
[bin.git]
/
cancel-this
1
#! /bin/sh
2
3
MSGID=`grep -i '^Message-ID: ' | sed 's/^Message-ID: //' | head -1`
4
5
echo 'Locally cancelling a post with the following Message-ID:'
6
echo " $MSGID"
7
[ "$1" = "test" ] || ctlinnd cancel "$MSGID"