Release of the GNU grep 3.5 utility

Submitted by release of a utility for organizing data search in text files β€” GNU Grep 3.5. The new version brings back the old behavior of the "--files-without-match" (-L) option, which was changed in the grep 3.2 release to be consistent with the git-grep utility. If in grep 3.2 the search was considered successful when the file being processed was mentioned in the list, now the behavior has been returned in which the success of the search depends not on the presence of the file in the list, but on the match of the searched string.

The message displayed when a match is found in binary files has been redesigned. The message is now "grep: FOO: binary file matches" and printed to stderr to avoid overlaps with normal output (e.g., 'grep PATTERN FILE | wc' used to count the number of matches incorrectly due to a warning printed to standard). The messages "grep: FOO: warning: recursive directory loop" and "grep: FOO: input file is also the output" are similarly redirected to stderr.

Source: opennet.ru

Add a comment