Re: help with grep
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69857
interpreted = N
texte = Marc Thompson wrote:> OOPPS, the second 2 that don't work should be:> [Text]Result=[Grep search=\&&replace=?][Result][/Grep][/Text]> [Text]Result=[Grep search=(\&)&replace=?][Result][/Grep][/Text]> > Marc Thompson wrote:> >> I've run into a dilema and can't seem to get grep to work on a URL >> string. What I need to do is replace a single instance of "&" with a >> "?", but I cannot seem to get the correct syntax?>>>> [Text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text]>> The following don't work?>> [Text]Result=[Grep search=&&replace=?][Result][/Grep][/Text]>> [Text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text]>> [Text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text]>>>> Any ideas?Try using the ASCII equiv of the criteria.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, DTP, Consulting, and Labels -> <- Fabricated Art (Metal, Glass, Kustom Paint) -> PH:> (608) 770-3822 | FAX:>(608) 291-2024 WEB:> http://www.euca.us & http://www.egg.bz =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:
Marc Thompson wrote:> OOPPS, the second 2 that don't work should be:> [text]Result=[Grep search=\&&replace=?][Result][/Grep][/Text]> [text]Result=[Grep search=(\&)&replace=?][Result][/Grep][/Text]> > Marc Thompson wrote:> >> I've run into a dilema and can't seem to get grep to work on a URL >> string. What I need to do is replace a single instance of "&" with a >> "?", but I cannot seem to get the correct syntax?>>>> [text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text]>> The following don't work?>> [text]Result=[Grep search=&&replace=?][Result][/Grep][/Text]>> [text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text]>> [text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text]>>>> Any ideas?Try using the ASCII equiv of the criteria.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, DTP, Consulting, and Labels -> <- Fabricated Art (Metal, Glass, Kustom Paint) -> PH:> (608) 770-3822 | FAX:>(608) 291-2024 WEB:> http://www.euca.us & http://www.egg.bz =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:
Not really WebCat (1997)
checksum for credit cards? (1997)
uhm? (2003)
Multiple serial numbers (1997)
[WebDNA] Is a '.webdna' suffix better? (2008)
Locking up with WebCatalog... (1997)
[WebDNA] Anyone worked with Mastercard Payment Gateway Services / WebDNA (2020)
looking for developers with solutions (2000)
Nested tags count question (1997)
[WebDNA] Succesfull migration from WebDNA/AppleServer to (2018)
Version 4? (2000)
Attn: Bug in GeneralStore example b15 (1997)
Serving images from databases (1998)
SetLineItem (1997)
Trigger options (2000)
Grepping text variable tags (was: No subject given) (2000)
Cold Fusion Buster (1997)
Emailer port change (1997)
Pithy questions on webcommerce & siteedit (1997)
Summing fields (1997)