Re: How do I specify a & character in Grep?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34175
interpreted = N
texte = Excellent! I'm hearing and seeing a few of the new features of WebCat 4,and they really make me want to upgrade, but at the same time, I'm hearingand seeing a few of the bugs...and they scare me! Ugh...what to do, what todo.SMITH MICRO or ANYONE WHO CAN GUESTIMATE: With the past few releases...onaverage...how long has it taken to work out bugs? Unfortunately I don'thave time to spare dealing with them.> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of John Butler> Sent: Wednesday, July 05, 2000 11:42 AM> To: WebCatalog Talk> Subject: Re: How do I specify a & character in Grep?>>> new webcat 4 context>> works neat. Ever use BBEdit? You can search & replace like this:> find apple , replace with banana. You know how to do that> kind of thing.>> but what if you want to (for example) replace any and all occurences of '> NATURALSIZEFLAG=[0-9]' with *nothing*? (Where [0-9] means *any*> single digit number.> The you would do this in the BBedit find/replace diolog box:> SEARCH FOR: NATURALSIZEFLAG=[0-9]> REPLACE WITH:> (thats replace with *nothing*)> turn on grep> hit the replace all button.>> There are many other things you can do with regular expressions> (grep). It means> searching/replacing but while using *variables*.> Now webcat can do this kind of 'smart searching/replacing' via [grep].>> I don't know how accurate the techno terms I used are, but you> get the idea :-)>> -John>>> Kim Ingram wrote:>> > Sorry for the stupidity if I missed something, but what the> heck is Grep?> >> > > -----Original Message-----> > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> > > Behalf Of WebDNA Support> > > Sent: Tuesday, July 04, 2000 1:51 AM> > > To: WebCatalog Talk> > > Subject: Re: How do I specify a & character in Grep?> > >> > >> > > >And then some more hours trying to get around the ampersand thing.> > > >I know Ampersand is not allowed in browser stuff, but, webcat source> > > >never gets to the browser so I thought, since it is called grep I> > > >could use the standard \ to delimit a reserved character. Who> > > >woulda thunk that I should use [url] in a grep expression.> > >> > > Yes, but [url] is how you get 'special' characters past the parser in> > > all situations. The text that finally makes it down into the grep> > > expression doesn't contain [url], it contains the interpreted value> > > after the [url] has been executed.> > >> > > >If I do use [url] to expand bad things, how do I search for [url]> > > >using grep, if that is reserved instead? Do i have to use> > > >[raw][url][raw]? Will that even work????> > >> > > Yes, that's exactly it.> > >> > > >Seems to me that \& is more to the point for a regex search> expression.> > >> > > Yes, except that & is *always* a parameter delimiter in WebDNA. We> > > can't tell the difference between & in your grep expression, and & as> > > a delimiter between parameters to the context. This similar> > > discussion could be made around how do I get & into a database> > > field or how do I search for & in a record. We had to choose> > > something, and what we chose is consistent with a model that> > > webmasters are already familiar with (we know it's kind of ugly and> > > arcane, but it's *so* much better than trying to learn *two*> > > different models for delimiters. Consistency is key here).> > >> > > Technical Support> **********************************> > > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> > > 16855 West Bernardo Drive, #380 | -------------------------> > > San Diego, CA 92127 | Software & Site Development> > > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> > > Fax: (858) 675-0372> **********************************> > >> > > -------------------------------------------------------------> > > 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/>-------------------------------------------------------------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:
Excellent! I'm hearing and seeing a few of the new features of WebCat 4,and they really make me want to upgrade, but at the same time, I'm hearingand seeing a few of the bugs...and they scare me! Ugh...what to do, what todo.SMITH MICRO or ANYONE WHO CAN GUESTIMATE: With the past few releases...onaverage...how long has it taken to work out bugs? Unfortunately I don'thave time to spare dealing with them.> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of John Butler> Sent: Wednesday, July 05, 2000 11:42 AM> To: WebCatalog Talk> Subject: Re: How do I specify a & character in Grep?>>> new webcat 4 context>> works neat. Ever use BBEdit? You can search & replace like this:> find apple , replace with banana. You know how to do that> kind of thing.>> but what if you want to (for example) replace any and all occurences of '> NATURALSIZEFLAG=[0-9]' with *nothing*? (Where [0-9] means *any*> single digit number.> The you would do this in the BBedit find/replace diolog box:> SEARCH FOR: NATURALSIZEFLAG=[0-9]> REPLACE WITH:> (thats replace with *nothing*)> turn on grep> hit the replace all button.>> There are many other things you can do with regular expressions> (grep). It means> searching/replacing but while using *variables*.> Now webcat can do this kind of 'smart searching/replacing' via [grep].>> I don't know how accurate the techno terms I used are, but you> get the idea :-)>> -John>>> Kim Ingram wrote:>> > Sorry for the stupidity if I missed something, but what the> heck is Grep?> >> > > -----Original Message-----> > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> > > Behalf Of WebDNA Support> > > Sent: Tuesday, July 04, 2000 1:51 AM> > > To: WebCatalog Talk> > > Subject: Re: How do I specify a & character in Grep?> > >> > >> > > >And then some more hours trying to get around the ampersand thing.> > > >I know Ampersand is not allowed in browser stuff, but, webcat source> > > >never gets to the browser so I thought, since it is called grep I> > > >could use the standard \ to delimit a reserved character. Who> > > >woulda thunk that I should use [url] in a grep expression.> > >> > > Yes, but [url] is how you get 'special' characters past the parser in> > > all situations. The text that finally makes it down into the grep> > > expression doesn't contain [url], it contains the interpreted value> > > after the [url] has been executed.> > >> > > >If I do use [url] to expand bad things, how do I search for [url]> > > >using grep, if that is reserved instead? Do i have to use> > > >[raw][url][raw]? Will that even work????> > >> > > Yes, that's exactly it.> > >> > > >Seems to me that \& is more to the point for a regex search> expression.> > >> > > Yes, except that & is *always* a parameter delimiter in WebDNA. We> > > can't tell the difference between & in your grep expression, and & as> > > a delimiter between parameters to the context. This similar> > > discussion could be made around how do I get & into a database> > > field or how do I search for & in a record. We had to choose> > > something, and what we chose is consistent with a model that> > > webmasters are already familiar with (we know it's kind of ugly and> > > arcane, but it's *so* much better than trying to learn *two*> > > different models for delimiters. Consistency is key here).> > >> > > Technical Support> **********************************> > > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> > > 16855 West Bernardo Drive, #380 | -------------------------> > > San Diego, CA 92127 | Software & Site Development> > > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com> > > Fax: (858) 675-0372> **********************************> > >> > > -------------------------------------------------------------> > > 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/>-------------------------------------------------------------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/
Kim Ingram
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:
itools webcat atartup (2000)
Re2: frames & carts (1997)
Don't know if this is a silly question... (2003)
WCS Newbie question (1997)
[WebDNA] WA,WO or how to find products with multiple selects .... (2018)
[WebDNA] Bullet proof dynamic tables (2009)
Where has WebDNA shown up in your life? (2003)
default error on NT? (1997)
PCS Frames (1997)
setting cookies then redirecting? (1998)
Sorting a [listdatabases] (2003)
forms and variables (1998)
PCS Emailer's role ? (1997)
more info on [setlineitems] (1997)
Protecting a folder (2000)
ImageMagick on OSX (2003)
WebCat2: Items xx to xx shown, etc. (1997)
Re:quit command on NT (1997)
Simple way to create unique SKU (1997)
Mac carriage returns (2004)