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:

    
  1. Re: help with grep ( Bob Minor 2008)
  2. Re: help with grep ( Donovan Brooke 2008)
  3. Re: help with grep ( Marc Thompson 2008)
  4. help with grep ( Marc Thompson 2008)
  5. Re: Help with Grep exchange ( devaulw@onebox.com 2005)
  6. Help with Grep exchange ( "Palle B. Nielsen (PowerPalle)" 2005)
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:

WebCatalog 2.1b4/Mac available (1997) There's a bug in the math context ... (1997) Initiating NewCart (1997) Re[2]: shipCost -vs- shippingtotal ? (2000) [OT] See Flash? (2003) emailer (1997) Show if time tags (1997) Oracle XE (2006) Setting up shop (1997) [WebDNA] HTML/OS vs. WebDNA ? (2008) international time (1997) Any Newsletters out there (1998) Projects & Contractors (1997) Billing when shipped (2006) WebCommerce Security Alert! (1996) win2003 server (Web, standard, small business, edition) (2005) Search returns all, not 20 (1997) Answer: WebDelivery downloads alias, not original ? (1997) WC2b12: Yes, Formulas.db is for real (1997) default value from Lookup (was Grant, please help me) (1997)