| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | wimm |
Hello, Gerald;
23 Nov 02 09:33, Gerald Miller wrote to Robert Bull:
GM> Sorry for not specifying the "*Tee" directly, but yes, I have a few
GM> ALIAS commands at the start of my batch:
Interesting - I wouldn't have thought that tee would work from an alias,
but then, 4DOS is something special.
GM> the Squish Maintenance Log and I now think it takes a real effort to
GM> get a truly proficient SED script file. I only use SED on very basic
GM> tasks....
I would agree with that :-) The O'Reilly AWK & SED book seems the first
one that has any kind of intelligible explanation of SED, but once one has
got to grips with at least the basics of AWK, AWK is so much more
productive...
GM> I saw your approach discussed with andrew to be very informative and I
GM> will attempt an adaptation on my end. My 4dos entry point is (check
GM> And, I appreciated the System reports technique. Most enlightening!
You're very gracious. Thank you :-)
I occasionally run the DOS version of SqTool to give system statistics. As
this and the reports extracted from WIMM's log are only of private
interest, it made sense to put them in a special echo that GoldED knows
about but Squish doesn't, so there's no risk of them ever getting scanned
out. It also made sense to post them as *.MSG, so that they could
automatically be deleted using DELAGE.COM, and avoid having to maintain the
area manually.
GM> your NDOS, see if it will support the "/q" switch - eliminate the
GM> "NUL" ;-)) ):
I'll have to dig out the manual! Thanks for the tip.
GM> copy /q C:\Fd\FD.LOG + C:\Fd\Sq\WIMM.TMP
I never thought to consolidate the log files, but think I'd prefer to keep
them separate anyway as some are more important than others.
GM> And now I see that I should have been more "creative" in
dealing with
GM> the wimm.tmp file, perhaps on a certain %{at}filesize THEN copy /q....
My MAIL.BAT contains the lines
logtrim wimm.log 32 40 ""
if errorlevel 1 wait Problem trimming WIMM.LOG...
which means that every time WIMM.LOG exceeds 40K, LOGTRIM.COM chops the top
off to reduce it to 32K. WAIT.COM is yet another Horst Schaeffer utility;
Syntax: WAIT [minutes:]seconds[.decimal] [prompt]
waits up to 1 hour (or unlimited if no time specified)
I admit that I had forgotten how complicated the process was until I looked
at it again in this discussion. I must have _really_ wanted to get the
results!
Maybe I should add, my usual choice for running AWK scripts is Mike
Brennan's MAWK, MAWK122X.ZIP. GNU AWK (GAWK) is the best-known one now,
but MAWK is not only a smaller download, it usually runs scripts much
faster too.
Regards,
Robert.
--- GoldED 3.00.Beta2+
* Origin: The Luminous Void (2:250/501.4)SEEN-BY: 24/903 106/2000 120/544 123/500 132/500 140/1 250/501 400/300 SEEN-BY: 633/104 260 262 267 270 285 640/954 770/215 771/4020 774/605 SEEN-BY: 2432/200 @PATH: 250/501 140/1 106/2000 123/500 774/605 633/260 285 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™.