[MacPorts] #36354: docbook-utils @ 0.6.14 regex bug

MacPorts noreply at macports.org
Thu Sep 27 08:10:38 PDT 2012


#36354: docbook-utils @ 0.6.14 regex bug
----------------------------+---------------------------------
  Reporter:  lockhart@…     |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:  haspatch maintainer
      Port:  docbook-utils  |
----------------------------+---------------------------------
Description changed by ryandesign@…:

Old description:

> The jw script wrapper contains two regex patterns fed to both grep and
> sed. GNU grep 2.5.1 on Lion did not complain, but Mountain Lion
> apparently ships BSD grep 2.5.1-FreeBSD and this one complains about it.
> But in any case the regex seems to be broken on all versions; it uses a
> character class [:space:] but does not surround it with an extra bracket
> (e.g. [[:space:]]) and does not call grep with the -E option to allow it
> to recognize extended patterns. Patch is tested on both Lion and Mountain
> Lion.

New description:

 The jw script wrapper contains two regex patterns fed to both grep and
 sed. GNU grep 2.5.1 on Lion did not complain, but Mountain Lion apparently
 ships BSD grep 2.5.1-FreeBSD and this one complains about it. But in any
 case the regex seems to be broken on all versions; it uses a character
 class [:space:] but does not surround it with an extra bracket (e.g.
 ![[:space:]]) and does not call grep with the -E option to allow it to
 recognize extended patterns. Patch is tested on both Lion and Mountain
 Lion.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/36354#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list