🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2073

Re: Deluxe Sigs in NN

#2073
From: Cindy Tittle Moore
Date: Thu, 05 Sep 1991 20:36
25 lines
1649 bytes
In <8968@cs.tulane.edu> rawdon@cs.tulane.edu (Michael Rawdon) writes:

>[An exceprt from her script:]
>>@ quotenum = $quotenum % 20 + 1 # where 20 is the total # of files you have

>I'd like to see a randomizing function where you don't have to make some
>modification to the function whenever you add a new signature to the database.
>I.e., you just stick a new sig in and the program does everything else for
>you.  Having to go make modifications to other files seems (and actually
>is, IMHO) awkward.

The line now reads:

@ fnum = `ls $quotedir | wc -w`
@ quotenum = $quotenum % $fnum + 1

Thanks for the suggestions by others.

--Cindy

--
Cindy Tittle Moore

Internet: tittle@ics.uci.edu       | BITNET: cltittle@uci.bitnet
UUCP:     ...!ucbvax!ucivax!tittle | Usnail: PO Box 4188, Irvine CA, 92716
Technical Details
Message-ID: <28C69569.26871@ics.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!yale.edu!think.com!zaphod.mps.ohio-state.edu!usc!jarthur!ucivax!tittle
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.edu> <28BFD864.10903@ics.uci.edu> <8968@cs.tulane.edu>

Show Full Headers
Complete Article Headers
Message-ID: <28C69569.26871@ics.uci.edu>
Subject: Re: Deluxe Sigs in NN
Date: Thu, 05 Sep 1991 20:36:57 +0000
From: tittle@alexandre-dumas.ics.uci.edu (Cindy Tittle Moore)
References: <1991Aug30.021038.1235@unlinfo.unl.edu> <dfs.683560439@reg> <28BE93E1.5658@ics.uci.edu> <8963@cs.tulane.edu> <28BFD864.10903@ics.uci.edu> <8968@cs.tulane.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!yale.edu!think.com!zaphod.mps.ohio-state.edu!usc!jarthur!ucivax!tittle
Newsgroups: news.software.nn
Organization: UC Irvine Department of ICS
Lines: 25
Nntp-Posting-Host: alexandre-dumas.ics.uci.edu