🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #56536

Re: [slrn] howto update counter in hook?

#56536
From: Thomas Schultz
Date: Fri, 07 Jan 2000 00:00
14 lines
1290 bytes
On 07 January 2000 at 09:17 GMT, Rejo Zenger <rejo@sisterray.xs4all.nl> wrote:

> So, what i think i will do now is to have a cron entry putting the
> output of 'date +%s' in a cache-file. Then i want that output to be
> inserted in my address whenever i do a post.

This cache-file is not really necessary -- if you have a recent
version of slang, you can open a pipe to "date" (using the popen()
command) and read from it instead.
-- 
Kind regards,
    Thomas Schultz

Technical Details
Message-ID: <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org>
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
References: <slrn87a8om.16h.rejo.f0001nim@sisterray.xs4all.nl> <slrn87aa5f.nas.davis@aluche.mit.edu> <slrn87bbp0.15s.rejo@sisterray.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] howto update counter in hook?
Date: Fri, 07 Jan 2000 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn87a8om.16h.rejo.f0001nim@sisterray.xs4all.nl> <slrn87aa5f.nas.davis@aluche.mit.edu> <slrn87bbp0.15s.rejo@sisterray.xs4all.nl>
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: 569702000
X-Server-Date: 7 Jan 2000 20:48:01 GMT
X-Trace: fu-berlin.de 947278254 1395239 149.225.25.100 (16 [152])
Organization: Pinguin online
User-Agent: slrn/0.9.6.2+ (Linux)
Newsgroups: news.software.readers