Article View: news.software.nntp
Article #53941Re: 441 Can't set system "X-Trace" header
From: madog
Date: Thu, 23 Aug 2001 08:38
Date: Thu, 23 Aug 2001 08:38
22 lines
1680 bytes
1680 bytes
"John W. Krahn" <krahnj@acm.org> wrote in message
news:3B84B797.CE07761C@acm.org...
| If you want to do it in Perl :-)
|
|
| #!/usr/bin/perl -w
| use strict;
|
| die "usage: $0 article outfile\n" unless @ARGV == 2;
| open OUT, "> $ARGV[1]" or die "Cannot write to $ARGV[1]: $!";
| for ( `/usr/bin/sm $ARGV[0]` ) {
| print OUT unless /^NNTP-Posting-Host/ or /^Xref/;
| }
|
| __END__
i can't even read scripts, let alone perl .........
maybe later.... thanks any way
Technical Details
Message-ID:
<9m2fdl$2pb$1@mail.cn99.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cn99.com!not-for-mailReferences:
<9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com> <3B84B797.CE07761C@acm.org>Show Full Headers
Complete Article Headers
Message-ID: <9m2fdl$2pb$1@mail.cn99.com> Subject: Re: 441 Can't set system "X-Trace" header Date: Thu, 23 Aug 2001 16:38:08 +0800 From: "madog" <madog@madogcc.myip.org> References: <9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com> <3B84B797.CE07761C@acm.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cn99.com!not-for-mail Newsgroups: news.software.nntp,comp.os.linux.misc,news.admin.misc Organization: Bentium Ltd. (CN99) Lines: 21 NNTP-Posting-Host: 61.145.128.170 X-Trace: mail.cn99.com 998555893 2859 61.145.128.170 (23 Aug 2001 08:38:13 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Thu, 23 Aug 2001 08:38:13 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200