Re: grep for search, not replace
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45708
interpreted = N
texte = You can grep with replace into a temporary variable, then compare the temporary variable to the original, something like this...[text]temp=[grep search=ABC&replace=][originaltext][/grep][/text][showif [url][temp][/url]![url][original][/url]]The search string was found![/showif]- brianAt 10:27 AM 11/25/2002, ScottR@benjerry.com wrote:>Can grep be used to just to test for the existence of a pattern, rather than>being used to replace it?-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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:
You can grep with replace into a temporary variable, then compare the temporary variable to the original, something like this...[text]temp=[grep search=ABC&replace=][originaltext][/grep][/text][showif [url][temp][/url]![url][original][/url]]The search string was found![/showif]- brianAt 10:27 AM 11/25/2002, ScottR@benjerry.com wrote:>Can grep be used to just to test for the existence of a pattern, rather than>being used to replace it?-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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/
Brian Fries
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:
WebCat2b13MacPlugIn - More limits on [include] (1997)
[urgent] Phone number at SM (2006)
Multiple Unique SKUs (2000)
WebMerchant Setup: Which card processor to use? (2000)
A better WebCat whois (was [OT] Domain Name Scam) (2000)
Upgrade to Tiger? (2006)
TRAINING videos - Prove IT. (1998)
[convertChars] and HTML Tags (1997)
Cart problem (1999)
Re:Searchable Archives (1998)
Add to Cart & List of Products (1997)
[WebDNA] sendmail - gives an "error -1" (2018)
Mondo amounts of Mail [long] (1999)
[WebDNA] PayPal Integration (2017)
searching for items that begin with a number (2004)
WebCat2 - Getting to the browser's username/password data (1997)
WC2f3 (1997)
Re:Emailer problem....still (1997)
More on the email templates (1997)
Text data with spaces in them... (1997)