ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] this is why i'm not a programmer...
Scott Reston
Thu, 06 Jan 2000 08:28:46 -0500

On Wed, 5 Jan 2000 19:31:22 -0800, Don Stephens wrote:

>So...you fixed it yet? Anyone that can do things in Pearl should find ECS a
>piece of cake :-)
>
>Don

yup. got it fixed and found a couple other problems. in the course of messing around
with the script, i made it a little better.

when looking for an event, you can give the name of the event as a regular expression.


. = match a single character
*  =  match character 0 or more times
+  = match character 1 or more times
?  = match character 1 or 0 times

basically, specifying "TVL.*" for the event name to search for will get you:
TVL
TVL DL
TVL PARSE

and all of the items needed to run these 3 events.

get the idea?

if you just specify "TVL", you'll only get the TVL event (and its items). 

see "http://www.perl.com/pub/doc/manual/html/pod/perlre.html" for a complete regular
expression rundown...

my script is available at:

http://www.indelible-blue.com/info/ecsparse.bat

scott reston
ih8gates@concentric.net
http://www.indelible-blue.com/meetib/scott/








  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.