By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!So I uninstalled v16, DL'd the distrib EXE, and reinstalled ... still TPIPE: Error - Can't access textpipeengine.dllTPIPE: Error - Can't access textpipeengine.dll
... in all three!
[snip]
(OT) Average temperature in Syracuse, NY for the past 24 hours ... minus .58 degrees F.
I do it with a batch file. You probably have a National Weather Service "station". Mine is called KSYR.Where do you get the average temp for a location?
cdd v:\
setlocal
copy /q "http://w1.weather.gov/data/obhistory/KSYR.html" h:\temp\ksyr.tmp
tpipe /input=h:\temp\ksyr.tmp /output=h:\temp\temps.tmp /grep=3,0,0,1,0,0,0,0,"right.*left" ^
/replace=4,1,0,1,0,0,0,0,0,".*([0-9][0-9]:[0-9][0-9]).*td.(-*[0-9]*)..td..td.*[0-9]*..td.$","$1 $2" ^
/head=0,0,24
unset /q temps
do line in @h:\temp\temps.tmp
set hour=%@left[2,%@word[0,%line]]
echo %@word[0,%line]^t%@word[1,%line]
set %@word[0,%line]=%@word[1,%line]
set temps=%temps %@word[1,%line]
enddo
set av=%@avg[%temps=2]
echo Average: %av
00:54 -3
23:54 -2
22:54 -2
21:54 1
20:54 3
19:54 5
18:54 7
17:54 6
16:54 5
15:54 5
14:54 4
13:54 4
12:54 3
11:54 1
10:54 -3
09:54 -4
08:54 -7
07:54 -8
06:54 -8
05:54 -7
04:54 -5
03:54 -4
02:54 -3
01:54 -3
Average: -0.63
TPIPE: Error - Can't access textpipeengine.dll
... in all three!