In preparation for upcoming 2.16 bug-fix-only release, here's a snapshot of the latest.
grep snapshot: http://meyering.net/grep/grep-ss.tar.xz 1.3 MB http://meyering.net/grep/grep-ss.tar.xz.sig http://meyering.net/grep/grep-2.15.15-178ed.tar.xz NEWS: ** Bug fixes Fix gnulib-provided maint.mk so that the release procedure described in README-release actually does what we want. Before that fix, that procedure resulted in a grep-2.15 tarball that would lead to a grep binary whose --version-reported version number was 2.14.51... The fix to make \s and \S work with multi-byte white space broke the use of each shortcut whenever followed by a repetition operator. For example, \s*, \s+, \s? and \s{3} would all malfunction in a multi-byte locale. [bug introduced in grep-2.15] The fix to make grep -P work better with UTF-8 made it possible for grep to evoke a larger set of PCRE errors, some of which could trigger an abort. E.g., this would abort: printf '\x82'|LC_ALL=en_US.UTF-8 grep -P y Now grep handles arbitrary PCRE errors. [bug introduced in grep-2.15] Handle very long lines (2GiB and longer) on systems with a deficient read system call. Commits in grep since v2.15: Jim Meyering (14): maint: post-release administrivia maint: avoid automake deprecation warning re ACLOCAL_AMFLAGS build: update gnulib submodule to latest maint: NEWS: document a release-related bug fix grep: fix regression involving \s and \S grep: fix regression with -P vs. invalid UTF-8 input dfa: avoid undefined behavior of "1 << 31" maint: minor cleanup: xmalloc+strcpy -> xmemdup tests: port to non-GNU sed grep: handle lines longer than INT_MAX on more systems maint: indent cpp directives to reflect nesting pcre: avoid a nominal leak maint: add comments and split some long lines tests: avoid FP failure due to exhausted memory Santiago Ruano Rincón (1): pcre: tell grep -P to relax its stance on invalid multibyte chars Changes in gnulib since v2.15: * gnulib 974b76b...4c2f17d (4): > maint.mk: fix "release" target to build _version > maint.mk: get current gnulib revision correctly. > install-reloc: Support multi-binary installation. > selinux-h: really build without selinux when library is missing
