Revisions of grep
- restore texinfo macros for SLE15 also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩. - GNU grep 3.8 (jsc#PED-6579): * The -s option no longer suppresses "binary file matches" - use release keyring rather than full one for validation - Make profiling deterministic (bsc#1040589, SLE-24115) * --files-without-match (-L) behavior reverted to again succeed * When standard output is /dev/null, grep no longer fails when - Drop upstreamed proc-lseek-glitch.patch an invalid regular expression that was read from an * grep -z would match strings it should not. To trigger the bug, you'd have to use a regular expression including an anchor (^ or $) and a feature like a range or a backreference, causing With a multibyte locale, that matcher could mistakenly match a string containing a newline. For example, this command: would mistakenly match and print all four input bytes. After * grep -Pz now diagnoses attempts to use patterns containing ^ and $, instead of mishandling these patterns. This problem seems to be inherent to the PCRE API; removing this limitation is on PCRE's maint/README wish list. Patterns can continue to match literal ^ and $ by escaping them with \ (now needed even * Binary files are now less likely to generate diagnostics and more likely to yield text matches. grep now reports "Binary file FOO matches" and suppresses further output instead of outputting a line containing an encoding error; hence grep can now report matching text before a later binary match. Formerly, grep reported FOO to be binary when it found an encoding error in FOO before generating output for FOO, which meant it never reported both matching text and matching binary
- update to 3.11: * With -P, patterns like [\d] now work again. Fixing this has caused grep to revert to the behavior of grep 3.8, in that patterns like \w and ^H go back to using ASCII rather than Unicode interpretations. However, future versions of GNU grep and/or PCRE2 are likely to fix this and change the behavior of \w and ^H back to Unicode again, without breaking [\d] as 3.10 did.
Automatic submission by obs-autosubmit
- Update to grep 3.9 * When given multiple patterns the last of which has a back-reference, grep no longer sometimes mistakenly matches lines in some cases (forwarded request 1069578 from Andreas_Schwab)
- efgrep-warning.patch: remove warning from [ef]grep (forwarded request 1004919 from Andreas_Schwab)
- GNU grep 3.8: * The -P option is now based on PCRE2 instead of the older PCRE (boo#1201803) * egrep and fgrep commands, deprecated since release 2.5.3 (2007), now warn that they are obsolescent and should be replaced by grep -E and grep -F * The confusing GREP_COLOR environment variable is now obsolescent * Regular expressions with stray backslashes now cause warnings * Regular expressions like [:space:] are now errors even if POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior * In locales using UTF-8 encoding, the regular expression '.' no longer sometimes fails to match Unicode characters * The -s option no longer suppresses "binary file matches" messages. - doc: fix man page syntax errors (bsc#1201001) (forwarded request 1001672 from Andreas_Schwab)
Automatic submission by obs-autosubmit
- use release keyring rather than full one for validation - Do not link an unversioned file by URL (and refresh keyring)
Make profiling deterministic (bsc#1040589) (forwarded request 962124 from bmwiedemann)
- use glibc-locale to reenable less common locale tests (bsc#1195390)
- Update to grep 3.7 * Preprocessing N patterns would take at least O(N^2) time when too many patterns hashed to too few buckets - werror-return-type.patch, gnulib-c-stack.patch: Removed - Skip stack overflow tests in qemu build (forwarded request 912392 from Andreas_Schwab)
- gnulib-c-stack.patch: Fix AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC configure check (forwarded request 909987 from Andreas_Schwab)
- gnulib-test-avoid-FP-perror-strerror.patch: Add patch to avoid false-positive error in gnulib tests 'test-perror2' and 'test-strerror_r', visible on armv7l.
Use deterministic profile.sh script to make package build reproducible (boo#1040589) (forwarded request 817958 from bmwiedemann)
- Switch back to system regex to avoid undefined behaviour (forwarded request 766066 from Andreas_Schwab)
Displaying revisions 1 - 20 of 91