TIP: Click on subject to list as thread! ANSI
echo: batpower
to: Paul Quinn
from: Richard Webb
date: 2009-06-11 13:13:22
subject: reconciling data two different sources, yo batch gurus!

Hi Paul,

On Thu 2037-Jun-11 15:49, Paul Quinn (3:640/384) wrote to Richard Webb:

PQ> On 11 Jun 09 15:29, I wrote to you:

 PQ> You could do it this way:

 PQ> [ ... ]
 PQ> find /v /c "39f2dbb9" lognum.txt | nset /L2 lognum=$3
 PQ> [ ... ]

PQ> Mmm... I might have outsmarted myself there.  Which file are you
PQ> counting lines in, again?  :)

cOunting lines in the input file, lognum.sem was just where
we stowed a pointer i.e. the asterisk.

wHen we get the file from alternate source, first step is
edit out all the internet header and mime junk.  tHen a few
edits to clean up whatever search/replace automation didn't
clean up.  Makes one entry per line.
THen, when we exit qedit the main batch is created which
invokes our reconciliation batch I posted for each line of
the input file.

sO, if our first line of the file is:

06/06/2009 22:08 KJ4IXK KI4MMZ 30-14.9N 080-54.7W5 025 Charlston SC ETA 34 Hrs.

we're using first four "words on that line to stuff into the batch we
create, invoking poastrec.bat as follows:

call postrec.bat KJ4IXK 06/06/2009 22:08  KI4MMZ

OF course, HOrst's listmod helps us create this master batch .
SO, this is first line, so we're stuffing a * in lognum.sem
to indicate that this is line 1 of input file.  IN this way, line we're
processing is always correct.

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