[WebDNA] Grep and "?"

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109092
interpreted = N
texte = Hello! I'm trying to remove some non alphabetical characters using grep. I've =20= managed to remove most of them (using one [grep] per character) except =20= for the question mark character. If I use "?" or "%3F" the template =20 with the code is not processed but downloaded to my computer instead. =20= Example: [grep search=3D%3F&replace=3D&ignorecase=3DT]Hi folks, how are you = doing?[/=20 grep] OR [grep search=3D?&replace=3D&ignorecase=3DT]Hi folks, how are you = doing?[/grep] In both cases I get the .tpl file downloaded to my desktop. I suspect =20= that question mark is a wildcard that grep uses to match certain =20 strings, so I don't know if anyone out there knows how to achieve this =20= or give me a better [grep] code to remove any character but letters. Thanks for any help! Regards, --------------------------------------------------- Cristi=E1n Tapia Smith Lemon Internet S.A. ctapia@lemongroup.cl http://www.lemongroup.cl Antonia L=F3pez de Bello 172, Of. 801 Fono: +562-7777542 Santiago, Chile. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep and "?" (Stuart Tremain 2012)
  2. Re: [WebDNA] Grep and "?" (Govinda 2012)
  3. [WebDNA] Grep and "?" (=?ISO-8859-1?Q?Cristi=E1n_Tapia?= 2012)
Hello! I'm trying to remove some non alphabetical characters using grep. I've =20= managed to remove most of them (using one [grep] per character) except =20= for the question mark character. If I use "?" or "%3F" the template =20 with the code is not processed but downloaded to my computer instead. =20= Example: [grep search=3D%3F&replace=3D&ignorecase=3DT]Hi folks, how are you = doing?[/=20 grep] OR [grep search=3D?&replace=3D&ignorecase=3DT]Hi folks, how are you = doing?[/grep] In both cases I get the .tpl file downloaded to my desktop. I suspect =20= that question mark is a wildcard that grep uses to match certain =20 strings, so I don't know if anyone out there knows how to achieve this =20= or give me a better [grep] code to remove any character but letters. Thanks for any help! Regards, --------------------------------------------------- Cristi=E1n Tapia Smith Lemon Internet S.A. ctapia@lemongroup.cl http://www.lemongroup.cl Antonia L=F3pez de Bello 172, Of. 801 Fono: +562-7777542 Santiago, Chile. =?ISO-8859-1?Q?Cristi=E1n_Tapia?=

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:

Using Plug-In while running 1.6.1 (1997) Multiple prices (1997) Exists? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Include a big block of text (1997) practicing safe queries.. (2000) WebCat2 - Getting to the browser's username/password data (1997) list items (1998) Retaining data (2003) Sendmail strangie (2002) Re:Emailer and encryption (1997) [shell]? (2000) RE: Answer: WebDelivery downloads alias, not original ? (1997) virtual virtual hosted store.... (1998) Error.html (1997) PCS Emailer's role ? (1997) RE: [WebDNA] Ajax, JS and WebDNA - A joint toturial ;-) (2010) [SearchString] problem with [search] context (1997) Writefile problem (1999) totals (1997)