Re: Count regular expressions in a file

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69413
interpreted = N
texte = Ki Song wrote: > I removed the innermost grep and it looks like the result of the countwords > is working now, except it's the number expected + 1. > I'll just add a math to subtract 1. > > [countwords delimiters=|][grep search=&replace=|prod][include > file=testxml.txt&raw=T][/grep][/countwords] That has the potential to fail... Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 770-3822 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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:

    
  1. Re: Count regular expressions in a file ( Stuart Tremain 2007)
  2. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  3. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  4. Re: Count regular expressions in a file ( Ki Song 2007)
  5. Re: Count regular expressions in a file ( Ki Song 2007)
  6. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  7. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  8. Re: Count regular expressions in a file ( Ki Song 2007)
  9. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  10. Re: Count regular expressions in a file ( Ki Song 2007)
  11. Re: Count regular expressions in a file ( Grant Hulbert 2007)
  12. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  13. Re: Count regular expressions in a file ( Ki Song 2007)
  14. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  15. Re: Count regular expressions in a file ( Ki Song 2007)
  16. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  17. Re: Count regular expressions in a file ( Ki Song 2007)
  18. Re: Count regular expressions in a file ( Ki Song 2007)
  19. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  20. Re: Count regular expressions in a file ( Ki Song 2007)
  21. Count regular expressions in a file ( Ki Song 2007)
Ki Song wrote: > I removed the innermost grep and it looks like the result of the countwords > is working now, except it's the number expected + 1. > I'll just add a math to subtract 1. > > [countwords delimiters=|][grep search=&replace=|prod][include > file=testxml.txt&raw=T][/grep][/countwords] That has the potential to fail... Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 770-3822 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

question: webdelivery folder and file (1997) Upload Progress Bar (2003) Is WebCat 3.0 necessary for calculating shipping? (2000) Custom WebCat Prefs ... (1997) [interpret] inside the db field? (1997) ExclusiveLock (2003) WC2b15 File Corruption (1997) I figured it out (1999) listfiles shows invisible files ... (1999) frames & carts (1997) [WebDNA] Delete founditems (2010) Help name our technology! (1997) About the Allow 'Absolute Path' Prefix (2002) Locking up with WebCatalog... (1997) WebCat 4.0 & WebMerchant (2000) Colors (2000) WebCat Code and WebStar Search? (2000) Suffix Mapping (1998) purchase plugin (1996) Limit to Field Length in DB (1998)