Re: Count regular expressions in a file
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69398
interpreted = N
texte = One issue I'm having is when I try to search for
, it just looksfor the word Product, instead of . How do I search for all wordsthat equal exactly >> Something like this may work:>> >> [text]count=0[/text]>> [listwords words=[url][yourblockoftext][/url]]>> [showif [word]=[url][/url]]>> [text]count=[math][count]+1[/math][/text]>> [/showif]>> [/listwords]>> >> >> appeared [count] times!>> >> Donovan>> >> note:>> If you are doing this for xml debugging purposes, BBedit has a>> nice count words (expression) feature.>> > > Thanks! I'll try those commands.> I'm just curious why the [shell] command is not working on my server.> Is WebDNA not setup properly on our server?> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
One issue I'm having is when I try to search for , it just looksfor the word Product, instead of . How do I search for all wordsthat equal exactly >> Something like this may work:>> >> [text]count=0[/text]>> [listwords words=[url][yourblockoftext][/url]]>> [showif [word]=[url][/url]]>> [text]count=[math][count]+1[/math][/text]>> [/showif]>> [/listwords]>> >> >> appeared [count] times!>> >> Donovan>> >> note:>> If you are doing this for xml debugging purposes, BBedit has a>> nice count words (expression) feature.>> > > Thanks! I'll try those commands.> I'm just curious why the [shell] command is not working on my server.> Is WebDNA not setup properly on our server?> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Ki Song
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
New command suggestion (1997)
WCS Newbie question (1997)
WebMerchant? (1998)
looping table rows (1999)
Problems with Frames (1998)
Webstar 1.3.1 PPC (1997)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
Date search - yes or no (1997)
[searchString] (1997)
Who is doing sign-ups-got it (1998)
WebCat2b15MacPlugin - showing [math] (1997)
Changes to the List (1997)
emails sent twice (2001)
Custom Shipping Charges (1997)
[Reload mydata.db] (1998)
encrypt method=APOP broken or just not enough docs? - was MD5encryption (2003)
when is date system date or order date? (1997)
Database Fields (1997)
Putting a page between checkout and invoice (1999)
RE:It just Does't add up!!! (1997)