Article View: news.software.nntp
Article #54003Re: 441 Can't set system "X-Trace" header
From: those who know me have no need o...
Date: Fri, 24 Aug 2001 21:17
Date: Fri, 24 Aug 2001 21:17
17 lines
1541 bytes
1541 bytes
<9m3qvb$al0$1@xivic.prima.de> divulged:
>It will still delete Lines matching those patterns which are part of
>the body. I suggest something like
>sed -e '/^$/q' $TMPFILE >$TMPHDR
>sed -n -e '/^$/,$p' $TMPFILE >$TMPBODY
>sed -e '/^NNTP-Posting-Host/d' ... ${TMPHDR} > ${OUTFILE}
>cat $TMPBODY >> ${OUTFILE}
an awk or perl script could do it in one whack, but that's just
(potentially) guilding the lilly, the essence is to amake sure they're
only headers (as is shown above).
--
okay, have a sig then
Technical Details
Message-ID:
<todh3u7tmq313a@news.supernews.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!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com> <ylk7zvbgh0.fsf@windlord.stanford.edu> <9m2bbd$em$1@mail.cn99.com> <ylelq39k9m.fsf@windlord.stanford.edu> <9m3qvb$al0$1@xivic.prima.de>Show Full Headers
Complete Article Headers
Message-ID: <todh3u7tmq313a@news.supernews.com> Subject: Re: 441 Can't set system "X-Trace" header Date: Fri, 24 Aug 2001 21:17:50 -0000 From: those who know me have no need of my name <not-a-real-address@usa.net> References: <9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com> <ylk7zvbgh0.fsf@windlord.stanford.edu> <9m2bbd$em$1@mail.cn99.com> <ylelq39k9m.fsf@windlord.stanford.edu> <9m3qvb$al0$1@xivic.prima.de> 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!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.nntp,comp.os.linux.misc,news.admin.misc Organization: earthfriends User-Agent: slrn/0.9.7.2 (Linux) X-Complaints-To: newsabuse@supernews.com Lines: 16