C News patch for X- headers in local articles
Henry Spencer
henry at utzoo.uucp
Thu Nov 16 05:27:51 AEST 1989
In article <255F55F6.19192 at ateng.com> chip at ateng.com (Chip Salzenberg) writes:
>In writing a local program to take a news article and repost it to another
>newsgroup, I added a field "X-Original-Newsgroups:" with obvious purpose.
>To avoid confusing rn, I put it at the end of the header. However, I found
>that the defhdrs.awk program outputs most headers in a random order, and the
>X- header was being output in the middle. This header arrangement confused
>rn's hide-these-headers feature... Therefore, I modified defhdrs.awk ...
>I trust that others will also find this patch useful. (Geoff? Henry?)
Our initial reaction is "we'd much rather see a fix to rn". Header order
is explicitly arbitrary in all relevant standards; if rn gets confused
on seeing a strange header, that is definitely a bug in rn. We appreciate
that C News is a lot easier to modify than rn :-), but we don't think this
is really the right approach.
On the other hand, occasional concessions to pragmatism are sometimes
reasonable. Have other people run into situations like this? As in
other cases, we'd like to see wide usefulness before we incorporate a
concession to distasteful reality into our software.
--
A bit of tolerance is worth a | Henry Spencer at U of Toronto Zoology
megabyte of flaming. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.sources.bugs
mailing list