TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: PAUL HAYTON
from: DAN RICHTER
date: 2019-12-21 11:17:00
subject: Re: HPT Stats

On 21 Dec 2019, Paul Hayton said the following...
 
 PH> 1) Does anyone have an example of the correct syntax to use to call
 PH> adv-stat-hpt.pl when I am wanting to create a stats report for a given
 PH> date range, say the last 24 hours. I have looked at the .pl file and can
 PH> see some syntax but when I try to add it to the command line it fails.
 PH> I'm picking I'm missing something simple.

What I'm doing on CRBBS, is just calling the adv-stat-hpt.pl file, and piping
the output to a text file. After my stat text files are generated, my log
files get archived, so I only have 24 hours of stats.

perl adv-stat-hpt.pl > daily.sta

 PH> 2) Is there a way to tell the script to exclude certain echo areas in
 PH> it's report output?

I'm sure there's a way to do it within the perl script, but what I have done,
is use sed to remove any that I don't want in the report.

sed -i '/NETMAIL/d' ./daily.sta
sed -i '/CN_FILES/d' ./daily.sta
sed -i '/CN_GENERAL/d' ./daily.sta

I'm sure there's a way to do this on a Windows system, but I don't know what
it is off-hand...


---

Black Panther(RCS)
Castle Rock BBS

--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3)

SOURCE: echomail via QWK@docsplace.org

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™.