Re: Grep and Special Characters
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42534
interpreted = N
texte = Thanks Marc,I actually need the opposite, where I'm putting an ampersand into the replace statement. I can see from my email where it could be confusing, sorry about that.This would be similar to the effect I'm trying to achieve: [Grep search=and&replace= %26]Thanks again,Jason TylerOn Wednesday, August 14, 2002, at 01:42 PM, Marc Kaiwi wrote:> 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 Tyler>> Signed: Marc Kaiwi> San 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/>-------------------------------------------------------------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:
Thanks Marc,I actually need the opposite, where I'm putting an ampersand into the replace statement. I can see from my email where it could be confusing, sorry about that.This would be similar to the effect I'm trying to achieve: [Grep search=and&replace= %26]Thanks again,Jason TylerOn Wednesday, August 14, 2002, at 01:42 PM, Marc Kaiwi wrote:> 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 Tyler>> Signed: Marc Kaiwi> San 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/>-------------------------------------------------------------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/
Jason Tyler
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:
empty shopping cart message (1997)
Date Question (2002)
Sub Categories (2000)
Multiple fields on 1 input (1997)
Announcement-WebCatalog 2.0 Released (1997)
[Semi-OT] encrypted variable in URL (2005)
Help with dates (2001)
Grouping search fields, etc. (1997)
[OT] ODBC between IIS and remote Access problem (2000)
Banner DNA (1997)
Large founditems loops (2000)
Append File help needed (2000)
Formvariable won't update (1999)
Fwd: Problems with Webcatalog Plug-in (1997)
Problem with updating to 2.1.1 (1998)
question: back button prevention (1997)
Date Time Oddness (1999)
I need to get a [grep] (2003)
[OT] WebDNA Family Album (2004)
Multiple Pulldowns (1997)