Re: Grep and Special Characters
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42532
interpreted = N
texte = This is how I'm doing it ... [Grep search=%26&replace=and] ... someone on the list had answered this question for me once before.Good Luck!On Wednesday, August 14, 2002, at 10:20 AM, Jason Tyler wrote:> I have what I hope will be a quick question.>> I'm using the grep context to do a complex find a replace type > operation that is working great, except I can't figure out how make it > place an & character in the replace statement. I've tried escaping it > per standard grep documentation which would be \&, but this doesn't > work because WebCat sees this as another context option. So I tried > several variations on this theme using the ascii value, the hex value > and others on the same theme, but they all failed.>> So basically, how do I terminate an & character in a grep replace > statement?>> Thank you,>> Jason TylerSigned: Marc KaiwiSan Diego Motorcycle Club: http://www.sdmotorcycleclub.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
This is how I'm doing it ... [Grep search=%26&replace=and] ... someone on the list had answered this question for me once before.Good Luck!On Wednesday, August 14, 2002, at 10:20 AM, Jason Tyler wrote:> I have what I hope will be a quick question.>> I'm using the grep context to do a complex find a replace type > operation that is working great, except I can't figure out how make it > place an & character in the replace statement. I've tried escaping it > per standard grep documentation which would be \&, but this doesn't > work because WebCat sees this as another context option. So I tried > several variations on this theme using the ascii value, the hex value > and others on the same theme, but they all failed.>> So basically, how do I terminate an & character in a grep replace > statement?>> Thank you,>> Jason TylerSigned: Marc KaiwiSan Diego Motorcycle Club: http://www.sdmotorcycleclub.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://search.smithmicro.com/
Marc Kaiwi
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:
Donovan (2003)
Reversed words (1997)
2nd WebCatalog2 Feature Request (1996)
Photo Album (2000)
SMSI -- a [notfound] context? (2002)
Frames and WebCat (1997)
Replacing entry (1998)
Re1000001: Setting up shop (1997)
Setting up the server (1997)
searching with if/then (2004)
WebDNA for Dummies (2003)
[WebDNA] Image resizing on the fly (2012)
sendmail spaces (1997)
[WebDNA] IIS 7 (2009)
Admin Edit prob. (1997)
Webcat2, WebCommerce, Mod 10 etc. (1997)
WebCat2 several catalogs? (1997)
Nav. 4 probs with cart (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Help! Missing [showif] or [hideif] (2000)