Changes between Initial Version and Version 2 of Ticket #36354
- Timestamp:
- Sep 27, 2012, 3:10:38 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36354 – Description
initial v2 1 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.1 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.