| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | how would you approach this? |
HI Paul,
On Fri 2036-Dec-19 14:36, Paul Quinn (3:640/384) wrote to Richard Webb:
PQ> On 18 Dec 08 12:58, you wrote to me:
PQ> Nevermind that query. At the time I was trying to think of a way to
PQ> shoehorn Infomail into your config. But you've sorted that out.
YEp, netmgr does that sort of thing rather well.
PQ>> Okay. This is the tricky bit. I'd be building the current
PQ>> 'status' file -and- retaining the 4x 12-hour data files, still,
PQ>> and dumping the oldest.
RW> Just what we're doing. AT this midnight and noon event,
RW> current.lst is renamed to two digit for month day hour and
RW> minute. i.e. 12181305.txt ...
RW> oldest of five is purged. NExt data comes in goes to current.lst.
PQ> That's the type of thing that PSIS will do for you (offering a
PQ> filename based on date/time data). For example, this is what my
PQ> FREQ-able files list generator does in part:
PQ> There's a number of different output formats from PSIS; this is just
PQ> one of them. The other one I quoted to you the other day suits what
PQ> you had in mind. If you have another tool/method then just tell me
PQ> to shut-up about it. ;-)
THat's alright, grabbed a copy from Ben's system for that
nodelist search solution, but really haven't looked at its
docs that close. Am using a little thing Harvey Parisien
distributed with his autoposter called doscmd which will do much the same
for files. SYntax is fairly well known to me, so I used that one.
Having more fun, email that comes in seems to all differ
from one to another where actual data starts after the
fidonet message header. sHOuldn't be as emails are all
generated by the same system on this web form, but ...
Anyway, solved that one. WOuld have with using dos find
command, getting line numbers for where actual data starts,
stuffing said line numbers into environment variables by
changing numbers in parenthses to no parenthses but
whitespace, then use nset. I do that often to automagically edit text
files. But the original batch that processes
these runs from a shell out of netmgr to dos, and therefore
doesn't.
SO as a workaround, we process to get rid of fido header and possibly any
other garbage, and build another batch on the
fly which sets environment vars we can use to magically edit our
intermediate file when it runs a few seconds later in
the after mail routine.
SPent most of yesterday skinning that cat .
Regards,
Richard
--- timEd 1.10.y2k+
* Origin: Radio REscue net operations BBS (1:116/901)SEEN-BY: 10/1 3 34/999 90/1 120/228 123/500 140/1 222/2 226/0 249/303 250/306 SEEN-BY: 261/20 38 100 1381 1404 1406 1410 1418 266/1413 280/1027 320/119 SEEN-BY: 393/68 396/45 633/104 260 267 285 640/954 690/682 734 712/0 104 313 SEEN-BY: 712/848 800/432 801/161 189 2222/700 2320/100 105 200 2905/0 @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™.