Re: Grep and Special Characters

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42536
interpreted = N
texte = maybe you should try [url] or [raw] tags??? I remember it well, it was 8/14/02 13:51, and Jason Tyler(jtyler@3ip.net) wrote:> 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 Tyler > > On 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/ Joshua G. Lynn Œ, Font Bureau -- -- -- -- josh@fontbureau.com 617.423.8770 (x13)---------ANTI-SPAM------------ For the sole purpose of reducing spam on our email server by catching robots that distribute to all listed addresses, mrexord@fontbureau.com and samanxha@fontbureau.com are being listed here and are linked to our super-high-tech anti-spam-coordination monitor. Please ignore this note. ---------------------------------- ------------------------------------------------------------- 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:

    
  1. Re: Grep and Special Characters (Jason Tyler 2002)
  2. Re: Grep and Special Characters (Brian Fries 2002)
  3. Re: Grep and Special Characters (Jason Tyler 2002)
  4. Re: Grep and Special Characters (Josh Lynn 2002)
  5. Re: Grep and Special Characters (Brian Fries 2002)
  6. Re: Grep and Special Characters (Jason Tyler 2002)
  7. Re: Grep and Special Characters (Marc Kaiwi 2002)
  8. Grep and Special Characters (Jason Tyler 2002)
maybe you should try [url] or [raw] tags??? I remember it well, it was 8/14/02 13:51, and Jason Tyler(jtyler@3ip.net) wrote:> 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 Tyler > > On 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/ Joshua G. Lynn Œ, Font Bureau -- -- -- -- josh@fontbureau.com 617.423.8770 (x13)---------ANTI-SPAM------------ For the sole purpose of reducing spam on our email server by catching robots that distribute to all listed addresses, mrexord@fontbureau.com and samanxha@fontbureau.com are being listed here and are linked to our super-high-tech anti-spam-coordination monitor. Please ignore this note. ---------------------------------- ------------------------------------------------------------- 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/ Josh Lynn

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:

[WebDNA] a major shift in strategy? (2008) Email (1998) A question on sub-categories (1997) Removing [showif] makes a big difference in speed (1997) Question re: FlushDatabases (1997) Confirming a bug/oddity (2003) Multiple Search Fields (1998) Initiating NewCart (1997) can WC render sites out? (1997) Secure server question (1997) WebCatalog can't find database (1997) Setting up shop (1997) Help! WebCat2 bug (1997) Passing Cart variable to subdirectory files? (1997) carriage returns in data (1997) WebCat b13 CGI -shownext- (1997) Queertrons? (1997) shownext (1997) Formating found categories (1997) WebCat 4.0 (2000)