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:
Problems passing [SKU] with $Replace in 2.0 (1997)
Categorizing by data (2001)
reading a email (2000)
Size/Color Options (2002)
Mac Programs (1998)
Aaron kant add (or whatever it was) (2000)
Reserved Words (2003)
Slow applescript context ... (2000)
Semi-OT: PanIP patent infringement case (2001)
[WebDNA] First-timer feedback (2014)
Verifying both name and password (was: New Problem) (1997)
NT [delete] - duh nevermind. (1998)
Three new problems ... (1997)
Browser Problem?!? Still getting Error message using POST! (1997)
plugin-acgi, different results (1997)
Unexpected error (1997)
carriage returns in data (1997)
spaces in [texta] (1998)
Not carrying Zero (2000)
For those of you not on the WebCatalog Beta... (1997)