TIP: Click on subject to list as thread! ANSI
echo: batpower
to: Paul Quinn
from: Richard Webb
date: 2008-08-26 17:00:18
subject: nodelist lookup batch

Hi Paul,

On Tue 2036-Aug-26 11:05, Paul Quinn (3:640/384) wrote to Richard Webb:

PQ> On 25 Aug 08 12:30, you wrote to me:

 RW> Already doing that, another wrinkle of it accepts a third
 RW> command line parameter, an output file name.  We then use
 RW> another little utility similar to replace to remove the
 RW> commas and underscore, changes them to spaces.

PQ> Interesting, that.  Does it do multiple replaces in one 'pass'
PQ> through the file? (I.e., -either- a comma -or- underscore gets
PQ> replaced?)

yEp, any comma or underscore in the found entry replaced
with a space (ascii 32) for readability.

 RW> Pop in complete address searched for as well, then we can
 RW> use HOrst's listmod to pull info from the result out to
 RW> another file or to feed another process if desired .
 RW> This permutation looks for semaphore files at the end of the search
 RW> utility's run to continue with what's desired.

PQ> What are you building there?  Something like an extended-format
PQ> "FidoUser.Lst" file?  A dialling directory/list, perhaps?

Not quite.  A couple of things.  One application is if I
need to contact a sysop in my duties as an echo moderator
regarding a user.  THis way, I can address Mr. sysop by
name, etc.  I've thought of lots of applications for your
cool code, but this is one I'm playing with.

 RW> Each week when the weekly nodediff is created, after the new nodelist
 RW> is built resulting master nodelist copied to a special subdir, old
 RW> nodelist nuked first.  nEW nodelist is modified to remove dos
 RW> redirection chars.  Batch which searches and stuffs results in a file
 RW> will automatically get this name stuffed into it.

PQ> I do vaguely similar things in my tosser batch, using DIR/NSET & DEL
PQ> to just keep a sub-set of the most recent files like FidoNews and
PQ> the zone3 version of the nodelist in my on-line filebase.

Yah lots of things one can do with this cool stuff .  IF
I feed downlinks fidonews I'll keep it around until they've
retrieved it.  RIght now I automatically unzip it to a
directory full of text files I like to browse, look at the
table of contents and if anything's worthwhile I read it.
IF it's the usual canned fidonet software reference etc. I
just nuke it.

PQ> Yep, no probs with his main AKA.  I just can't put a finger on where
PQ> the logic fails on the no-find.  As I've indicated to Gord, there's
PQ> a no-find for 2:2/2 also.  It's got me stuffed for ideas though I
PQ> won't lose any sleep over the problem.  ;-)

I wouldn't, because it sure works nicely.  Appreciate your
efforts!

PQ> Mind you, you ought to enlist someone's help to create an executable
PQ> instead.  There's a limit to what can be done with a batch file.  I
PQ> think I found it.[giggle]

I've been surprised all these years nobody ever did write a
nodelist search executable for command line use.

 PQ>> ... I'm not a pessimest, just an optimist with a lot of
 PQ>> experience.
 RW> LIke the tagline btw.

PQ> One of life's truisms.  Hey, keep a copy if you wish.

Already done .


Regards,
           Richard
--- timEd 1.10.y2k+
* Origin: Radio REscue net operations BBS (1:116/901)
SEEN-BY: 10/1 3 34/999 90/1 106/1 120/228 123/500 140/1 222/2 226/0 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/68 396/45 633/104 260 267 285 690/682 734 712/848 800/432 801/161
SEEN-BY: 801/189 2222/700 2320/100 105 200 2905/0
@PATH: 116/901 3634/12 123/500 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.