Article View: news.software.nn
Article #2045Re: Deluxe Sigs in NN
From: Cindy Tittle Moore
Date: Sat, 31 Aug 1991 19:03
Date: Sat, 31 Aug 1991 19:03
29 lines
1973 bytes
1973 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. >(Or am I misreading how your shell works?) No, you're not. If I add any new files (or take away!), I have to go and modify this number. I imagine, though, that this could be dealt with. For example, the number could be calculated by doing a for each file (I forget the exact syntax) and incrementing a counter which is then used for the modulus. Only reason I haven't put it in is sheer laziness; I suppose I could hack something up if you're interested (or anyone else is)... --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:
<28BFE817.15978@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!mcsun!uunet!elroy.jpl.nasa.gov!usc!orion.oac.uci.edu!ucivax!tittleReferences:
<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: <28BFE817.15978@ics.uci.edu> Subject: Re: Deluxe Sigs in NN Date: Sat, 31 Aug 1991 19:03:51 +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!mcsun!uunet!elroy.jpl.nasa.gov!usc!orion.oac.uci.edu!ucivax!tittle Newsgroups: news.software.nn Organization: UC Irvine Department of ICS Lines: 29 Nntp-Posting-Host: alexandre-dumas.ics.uci.edu