🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #46187

Re: [slrn] Saving new/unread articles?

#46187
From: da... John E. Davis
Date: Mon, 01 Feb 1999 00:00
27 lines
1652 bytes
On 1 Feb 1999 14:31:06 -0500, tony summerfelt <to...@myspleen.kos.net>
wrote:
>all that piece of code was supposed to do is get the highest article number
>and increment it for the next restored article. and, of course, the number
>will be used to write the .minmax file...

Suppose that the list of files consist of the strings:

    "1"  "2"  "101"  "5"

If sorted alphabetically, you will get the order:

     1
     101
     2
     5

But if sorted numerically, you will get:

     1
     2
     5
     101

--John
Technical Details
Message-ID: <slrn7bcbbe.6cm.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <CBdq2.114$yk7.461@news.get2net.dk> <36aaa085.0@news.kosone.com> <RONq2.59$sG5.292@news.get2net.dk> <36ae8466.0@news.kosone.com> <slrn7atdac.iie.davis@aluche.mit.edu> <36b23651.0@news.kosone.com> <slrn7b4hkg.sse.davis@aluche.mit.edu> <36b38c8d.0@news.kosone.com> <8790ekruhs.fsf@pc-hrvoje.srce.hr> <36b600fa.0@news.kosone.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7bcbbe.6cm.davis@aluche.mit.edu>
Subject: Re: [slrn] Saving new/unread articles?
Date: Mon, 01 Feb 1999 00:00:00 +0000
From: da...@space.mit.edu (John E. Davis)
References: <CBdq2.114$yk7.461@news.get2net.dk> <36aaa085.0@news.kosone.com> <RONq2.59$sG5.292@news.get2net.dk> <36ae8466.0@news.kosone.com> <slrn7atdac.iie.davis@aluche.mit.edu> <36b23651.0@news.kosone.com> <slrn7b4hkg.sse.davis@aluche.mit.edu> <36b38c8d.0@news.kosone.com> <8790ekruhs.fsf@pc-hrvoje.srce.hr> <36b600fa.0@news.kosone.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 439526865
X-Complaints-To: use...@eecs-usenet-02.mit.edu
X-Trace: eecs-usenet-02.mit.edu 917908848 3881 18.75.2.45 (1 Feb 1999 22:40:48 GMT)
Organization: Center for Space Research
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: da...@space.mit.edu
NNTP-Posting-Date: 1 Feb 1999 22:40:48 GMT
Newsgroups: news.software.readers,alt.lang.s-lang