What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Grep and Special Characters

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42535
interpreted = N
texte = [grep search=and&replace=[url]&[/url]]bob and carol and ted and alice[/grep]gives mebob & carol & ted & aliceWhen in doubt, [url]- brianAt 1:51 PM 8/14/02, Jason Tyler 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/ ------------------------------------------------------------- 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)
[grep search=and&replace=[url]&[/url]]bob and carol and ted and alice[/grep]gives mebob & carol & ted & aliceWhen in doubt, [url]- brianAt 1:51 PM 8/14/02, Jason Tyler 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/ ------------------------------------------------------------- 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/ Brian Fries

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:

hard carriage returns and sendmail (1998) [dos] command question (1997) problems with WebCat-Plugin (1997) Format of Required fields error message (1997) HTML encoding in URLs (1997) Transfer of data from Invoice to thank you templates (1998) WebCat2b13MacPlugIn - More limits on [include] (1997) Bug Report, maybe (1997) MySQL (2003) Capturing the referring site (1999) no time stamp & different times from emailer (1998) WebDNA Solutions ... sorry! (1997) [shownext max=?] armed (1997) when is date system date or order date? (1997) Math (1997) Quantity discount on some items? (2000) Re:trouble (1997) Database Fields (1997) More Applescript (1997) FREE Stuff .. (2003)