Re: [WebDNA] Grep out square brackets?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105110
interpreted = N
texte =
bring [raw] into play?


On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" <webdna@danstrong.com= > wrote:
> Grep again... I want to remove the square brackets from
>my input. I've looked at our docs= and also hunted and
>pecked around in the google, but no luck... none of these
>work:
>
> I= want to return "some-command" (no quotes).
>
> [grep search=3D]&replace=3D][some_command][= /grep]
> [grep search=3D[&replace=3D][some_command][/grep]
&= gt; [grep search=3D*]&replace=3D][some_command][/grep]
> [grep sear= ch=3D*[&replace=3D][some_command][/grep]
> [grep search=3D*]*&replace=3D][some_command][/grep]
> [grep sea= rch=3D*[*&replace=3D][some_command][/grep]
> [grep search=3D*][*&replace=3D][some_command][/grep]
> [grep se= arch=3D[url][[/url]&replace=3D][some_command][/grep]
> [grep search=3D[url]][/url]&replace=3D][some_command][/grep]
> = [grep
>search=3D[url][[/url]&replace=3D][url][some_command][/u= rl][/grep]
> [grep
>search=3D[url]][/url]&replace=3D][url][some_command][/u= rl][/grep]
>
>
> ...or is this a better job for a convertchars.db?
>
> Thanks,
> -Dan=

=A0
Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  2. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  3. Re: [WebDNA] Grep out square brackets? (Govinda 2010)
  4. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  5. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  6. Re: [WebDNA] Grep out square brackets? ("Terry Wilson" 2010)
  7. [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
bring [raw] into play?


On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" <webdna@danstrong.com= > wrote:
> Grep again... I want to remove the square brackets from
>my input. I've looked at our docs= and also hunted and
>pecked around in the google, but no luck... none of these
>work:
>
> I= want to return "some-command" (no quotes).
>
> [grep search=3D]&replace=3D][some_command][= /grep]
> [grep search=3D[&replace=3D][some_command][/grep]
&= gt; [grep search=3D*]&replace=3D][some_command][/grep]
> [grep sear= ch=3D*[&replace=3D][some_command][/grep]
> [grep search=3D*]*&replace=3D][some_command][/grep]
> [grep sea= rch=3D*[*&replace=3D][some_command][/grep]
> [grep search=3D*][*&replace=3D][some_command][/grep]
> [grep se= arch=3D[url][[/url]&replace=3D][some_command][/grep]
> [grep search=3D[url]][/url]&replace=3D][some_command][/grep]
> = [grep
>search=3D[url][[/url]&replace=3D][url][some_command][/u= rl][/grep]
> [grep
>search=3D[url]][/url]&replace=3D][url][some_command][/u= rl][/grep]
>
>
> ...or is this a better job for a convertchars.db?
>
> Thanks,
> -Dan=

=A0
"Terry Wilson"

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:

Multiple Ad databases? (1997) Problems with date math (1997) setting cookies then redirecting? (1998) Web Commerce thoughts and needs.. (1996) [WebDNA] lighttpd.conf for php and webdna? (2013) ExpireDate Zero or Greater than Today (2006) NewCart+Search with one click ? (1997) America Online Issues (1998) I try hard to think positively (1998) php + WebCatalog in same files (2001) Emailer (WebCat2) (1997) Frames and WebCat (1997) [OT] - Block Traffic to DevBox (2003) WebCatalog copies database with -tmp suffix (2005) Closing Databases (1998) Looking for a designer/coder (2005) Wrapping text (1998) Re:no template caching (1997) Summing fields (1997) WebCatalog-NT?'s (1996)