Re: [WebDNA] Grep out square brackets?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105111
interpreted = N
texte = This is a multi-part message in MIME format. ------=_NextPart_000_0039_01CAD0B1.BEA8C200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Maybe, but then I have to grep that out too... I'm thinking = convertchars.db will save me pain -Dan From: Terry Wilson=20 Sent: Wednesday, March 31, 2010 8:48 AM To: talk@webdna.us=20 Subject: Re: [WebDNA] Grep out square brackets? bring [raw] into play? On Wed, 31 Mar 2010 08:58:27 -0700 "Dan Strong" wrote: > Grep again... I want to remove the square brackets from=20 >my input. I've looked at our docs and also hunted and=20 >pecked around in the google, but no luck... none of these=20 >work: >=20 > I want to return "some-command" (no quotes). >=20 > [grep search=3D]&replace=3D][some_command][/grep] > [grep search=3D[&replace=3D][some_command][/grep] > [grep search=3D*]&replace=3D][some_command][/grep] > [grep search=3D*[&replace=3D][some_command][/grep] > [grep search=3D*]*&replace=3D][some_command][/grep] > [grep search=3D*[*&replace=3D][some_command][/grep] > [grep search=3D*][*&replace=3D][some_command][/grep] > [grep search=3D[url][[/url]&replace=3D][some_command][/grep] > [grep search=3D[url]][/url]&replace=3D][some_command][/grep] > [grep=20 >search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep] > [grep=20 >search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep] >=20 >=20 > ...or is this a better job for a convertchars.db? >=20 > Thanks, > -Dan ------=_NextPart_000_0039_01CAD0B1.BEA8C200 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Maybe, but then I have to grep that out = too... I'm=20 thinking convertchars.db will save me pain
-Dan

From: Terry Wilson
Sent: Wednesday, March 31, 2010 8:48 AM
To: talk@webdna.us
Subject: Re: [WebDNA] Grep out square = brackets?

bring [raw] into=20 play?


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

 
------=_NextPart_000_0039_01CAD0B1.BEA8C200-- 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)
This is a multi-part message in MIME format. ------=_NextPart_000_0039_01CAD0B1.BEA8C200 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Maybe, but then I have to grep that out too... I'm thinking = convertchars.db will save me pain -Dan From: Terry Wilson=20 Sent: Wednesday, March 31, 2010 8:48 AM To: talk@webdna.us=20 Subject: Re: [WebDNA] Grep out square brackets? bring [raw] into play? On Wed, 31 Mar 2010 08:58:27 -0700 "Dan Strong" wrote: > Grep again... I want to remove the square brackets from=20 >my input. I've looked at our docs and also hunted and=20 >pecked around in the google, but no luck... none of these=20 >work: >=20 > I want to return "some-command" (no quotes). >=20 > [grep search=3D]&replace=3D][some_command][/grep] > [grep search=3D[&replace=3D][some_command][/grep] > [grep search=3D*]&replace=3D][some_command][/grep] > [grep search=3D*[&replace=3D][some_command][/grep] > [grep search=3D*]*&replace=3D][some_command][/grep] > [grep search=3D*[*&replace=3D][some_command][/grep] > [grep search=3D*][*&replace=3D][some_command][/grep] > [grep search=3D[url][[/url]&replace=3D][some_command][/grep] > [grep search=3D[url]][/url]&replace=3D][some_command][/grep] > [grep=20 >search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep] > [grep=20 >search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep] >=20 >=20 > ...or is this a better job for a convertchars.db? >=20 > Thanks, > -Dan ------=_NextPart_000_0039_01CAD0B1.BEA8C200 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Maybe, but then I have to grep that out = too... I'm=20 thinking convertchars.db will save me pain
-Dan

Sent: Wednesday, March 31, 2010 8:48 AM
Subject: Re: [WebDNA] Grep out square = brackets?

bring [raw] into=20 play?


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

 
------=_NextPart_000_0039_01CAD0B1.BEA8C200-- "Dan Strong"

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:

emailer (1997) Windows and Webcat! (2000) Progress !! WAS: Trouble with formula.db (1997) Help! WebCat2 bug (1997) Credit card arrangement (2005) using showpage and showcart commands (1996) WebCat2 several catalogs? (1997) LOG IN LOG OUT (1997) Help with Repost Data msg from form (1997) showif and cart (1997) Nested tags count question (1997) Quitting WebMerchant ? (1997) WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001) Re:Running 2 two WebCatalog.acgi's (1996) WebCatalog Upgrade Pricing? (1997) [ot] ascii values for lf and cr (2001) BBEdit and WebCatalog 2.0? (1997) Running 2 two WebCatalog.acgi's (1996) Mac Vs WindowsNT (1997) Cookies and webcat (1997)