🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Dawn Owens-Nicholson Sat, 24 Oct 1998 00:00
Re: (slrn) custom_headers question
#44009
Author: Dawn Owens-Nicholson
Date: Sat, 24 Oct 1998 00:00
13 lines
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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads