Grep and Special Characters

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42530
interpreted = N
texte = 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 ------------------------------------------------------------- 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)
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 ------------------------------------------------------------- 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:

Searching for all records (1998) Upgrade to wsV (2004) TCPConnect to query for Domain expiration (2000) StoreBuilder ADD 2 CART redirects to default.tpl - PLEASESTO (2002) Hosting Services (1999) Spreadsheet App pref. [OT] (2001) How about this? (1998) Updating checkboxes made easy !!! (1998) WebCatalog 4.0.2b5 available (2000) Virtual hosting and webcatNT (1997) database confused (2000) How to append text after the sign & (1997) formulas.db ?? (1998) Cancel Subscription (1996) Linux Beta4 Problem (2000) Database Fields (1997) Help name our technology! (1997) [Fwd: can we get string variables?] (1998) Bug Report, maybe (1997) WEBCAT with SQL backend. Help please! (2000)