🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #71243

Re: custom headers

#71243
From: Dave Chapman
Date: Mon, 29 Jan 2001 19:04
33 lines
2078 bytes
On 29 Jan 2001 17:34:17 GMT, Sven Guckes <guckes@math.fu-berlin.de> wrote:
>* Dave Chapman <root@canwest.victoria.bc.ca>:
>> Just playin' around, and am wondering why the following won't work:
>>   set custom_headers "X-OS: " `uname -s -m -r`
>> Won't work regardless of where the double quotes are.
>> Any ideas?
>
>Place the quotes correctly?
>
>    set custom_headers "X-OS:   `uname -s -m -r`"
>
Thankyou, Sven.  You're always coming to my rescue.

Your solution above gives, as expected, the literal header:

"X-OS: `uname -s -m -r`"

Rather than:

"X-OS: NetBSD 1.5 i386"

as I was hoping.  Perhaps I wasn't clear in my original post what I was
trying to do.

Interestingly, this only shows with custom_headers.  It does not show
with followup_custom_headers or reply_custom_headers.  I did include
X-OS: in visible_headers, if that makes any difference.

-- 
David Chapman
dchapman@canwest.victoria.bc.ca
------<575WU/1.12yrs>------
Technical Details
Message-ID: <b9jd6.89841$3j.5793188@news1.gvcl1.bc.home.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.gvcl1.bc.home.com.POSTED!not-for-mail
References: <nBhd6.89835$3j.5790060@news1.gvcl1.bc.home.com> <2001-01-29T17-32-54@guckes.net>

Show Full Headers
Complete Article Headers
Message-ID: <b9jd6.89841$3j.5793188@news1.gvcl1.bc.home.com>
Subject: Re: custom headers
Date: Mon, 29 Jan 2001 19:04:39 GMT
From: root@canwest.victoria.bc.ca (Dave Chapman)
References: <nBhd6.89835$3j.5790060@news1.gvcl1.bc.home.com> <2001-01-29T17-32-54@guckes.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.gvcl1.bc.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: dchapman@canwest.victoria.bc.ca
User-Agent: slrn/0.9.6.3 (NetBSD)
Lines: 32
NNTP-Posting-Host: 24.66.174.157
X-Complaints-To: abuse@home.net
X-Trace: news1.gvcl1.bc.home.com 980795079 24.66.174.157 (Mon, 29 Jan 2001 11:04:39 PST)
NNTP-Posting-Date: Mon, 29 Jan 2001 11:04:39 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster