chiark
/
gitweb
/
~webstump
/
modbot-uram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d9640
)
Strip X-Complaints-To too
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2010 10:54:25 +0000
(11:54 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 2 Jun 2010 10:54:25 +0000
(11:54 +0100)
inews.INO
patch
|
blob
|
history
diff --git
a/inews.INO
b/inews.INO
index 6acee1afcbc21fc0169b88ac0bd310c1fd9328c6..3f74debdfe3be09318190fc7c0b0c9e721a1d2f1 100755
(executable)
--- a/
inews.INO
+++ b/
inews.INO
@@
-17,7
+17,7
@@
output=`
if [ x%DIVERTPOSTINGS% = x ]; then
perl -pe '
next unless ($.==1)../^$/;
-
s/^(?:X-Trace|NNTP-Posting-(?:Date|Host)
)/X-$&/;
+
s/^(?:X-Trace|NNTP-Posting-(?:Date|Host)|X-Complaints-To
)/X-$&/;
' $tf | inews -h -Q -R
else
(set -e