Article View: news.software.readers
Article #44009Re: (slrn) custom_headers question
From: Dawn Owens-Nicholson
Date: Sat, 24 Oct 1998 00:00
Date: Sat, 24 Oct 1998 00:00
13 lines
1233 bytes
1233 bytes
Darren Rees wrote: > How can I include the output of a Unix command > in a custom_header? (I've tried and failed.) One way to do it in S-Lang is to make the command write its output to a temp file, load the contents of the file into an S-Lang variable and then use the variable in the custom header. If you care about portability, this means #ifdefs for DOS, Unix and (I'm guessing) VMS because the command might exist under a different name for various systems and different shells might have a different way of redirecting to a file what Unix users refer to as standard output.
Technical Details
Message-ID:
<slrn732tql.bjp.bluemoon@ux6.cso.uiuc.edu>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!not-for-mailReferences:
<slrn72teci.me.merlin@A470.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrn732tql.bjp.bluemoon@ux6.cso.uiuc.edu> Subject: Re: (slrn) custom_headers question Date: Sat, 24 Oct 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <slrn72teci.me.merlin@A470.demon.co.uk> 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!not-for-mail X-Deja-AN: 404535624 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.3 (UNIX) Newsgroups: news.software.readers