Article View: news.software.readers
Article #56560Re: [slrn] howto update counter in hook?
From: Thomas Schultz
Date: Sat, 08 Jan 2000 00:00
Date: Sat, 08 Jan 2000 00:00
17 lines
1716 bytes
1716 bytes
On 08 January 2000 at 05:17 GMT, John E. Davis <davis@space.mit.edu> wrote: > On 7 Jan 2000 16:58:27 GMT, Thomas Schultz <tststs@gmx.de> wrote: >> 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. > Using the _time () intrinsic function is better. Other alternatives > include gmtime() and localtime(). Thank you for pointing this out. The last time I needed a similar function in one of my macros, the gmtime() and localtime() intrinsics did not yet exist, so I decided it would be easier to use "date" than to break down the output of _time() myself. I probably should look at changes.txt more carefully when updating slang. -- Thomas Schultz <tststs@gmx.de>
Technical Details
Message-ID:
<slrn87f589.4gs.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-mailReferences:
<slrn87a8om.16h.rejo.f0001nim@sisterray.xs4all.nl> <slrn87aa5f.nas.davis@aluche.mit.edu> <slrn87bbp0.15s.rejo@sisterray.xs4all.nl> <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org> <slrn87di3e.qtm.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn87f589.4gs.tststs@starflower.tststs.ddns.org> Subject: Re: [slrn] howto update counter in hook? Date: Sat, 08 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> <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org> <slrn87di3e.qtm.davis@aluche.mit.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-mail X-Deja-AN: 570115596 X-Server-Date: 8 Jan 2000 21:15:01 GMT X-Complaints-To: abuse@cityweb.de Organization: Cityweb News Service User-Agent: slrn/0.9.6.2+ (Linux) NNTP-Posting-Date: 8 Jan 2000 21:19:21 GMT Newsgroups: news.software.readers