[MacPorts] #36354: docbook-utils @ 0.6.14 regex bug
MacPorts
noreply at macports.org
Thu Sep 27 07:52:31 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
Keywords: haspatch maintainer | Port: docbook-utils
---------------------------------+--------------------------------
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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list