Re: grep for search, not replace
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45709
interpreted = N
texte = Thanks - that should do it!-----Original Message-----From: Brian Fries [mailto:webdna@brainscansoftware.com]Sent: Monday, November 25, 2002 11:35 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: grep for search, not replaceYou 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, ratherthan>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 toWeb 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:
Thanks - that should do it!-----Original Message-----From: Brian Fries [mailto:webdna@brainscansoftware.com]Sent: Monday, November 25, 2002 11:35 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: grep for search, not replaceYou 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, ratherthan>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 toWeb 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/
ScottR@benjerry.com
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:
test message 4 (2000)
I'm new be kind (1997)
SIMS & WebCat .... Alias Folder (2002)
A quickie question (1997)
Webmerchant (2000)
Bug alert! (1997)
Need help... (1997)
NewCart+Search with one click ? (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Help formatting search results w/ table (1997)
Setting up shop (1997)
PCS Frames (1997)
Help with Grep exchange (2005)
serial number dishing (1997)
WebCat2: Formulas.db question (1997)
More on the email templates (1997)
WebDNA tags in WebMerchant email templates ... (1997)
suffix mapping for NT? (1997)
[WebDNA] OSX users (2009)
[Sum] function? (1997)