Updated grep packages that fix one bug are now available for Red Hat EnterpriseLinux 6.
The grep utility searches through textual input for lines that contain a matchto a specified pattern and then prints the matching lines. The GNU greputilities include grep, egrep, and fgrep.This update fixes the following bug:* In the past, the “grep -r PATTERN” command incorrectly read from the standardinput instead of recursively scanning the current directory for files containingthe PATTERN. This has been fixed in a past update. However, the new correctbehavior broke some scripts that assumed the old functionality.This update introduces a backward compatibility environment variableGREP_LEGACY_R. If set to ‘1’, it makes grep behave the old incorrect way, andcan be used to make the old scripts work again. (BZ#1367309)Users of grep are advised to upgrade to these updated packages, which fix thisbug.
Before applying this update, make sure all previously released errata relevantto your system have been applied.For details on how to apply this update, refer to:Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
grep-2.20-5.el6_8.src.rpm
    MD5: b2234a76d79a546cc0ea2e02ed3fd26bSHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
 
IA-32:
grep-2.20-5.el6_8.i686.rpm
    MD5: 5f6ea6806c0270342ca08fbaeb10f33aSHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm
    MD5: 4da291adfc0c8aacff110c506fc1ad9aSHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8
 
x86_64:
grep-2.20-5.el6_8.x86_64.rpm
    MD5: 8173367ee8414c790f283d268872ebb2SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm
    MD5: 3fe611b2cb65da4e72c2d0416777411dSHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
grep-2.20-5.el6_8.src.rpm
    MD5: b2234a76d79a546cc0ea2e02ed3fd26bSHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
 
x86_64:
grep-2.20-5.el6_8.x86_64.rpm
    MD5: 8173367ee8414c790f283d268872ebb2SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm
    MD5: 3fe611b2cb65da4e72c2d0416777411dSHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
grep-2.20-5.el6_8.src.rpm
    MD5: b2234a76d79a546cc0ea2e02ed3fd26bSHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
 
IA-32:
grep-2.20-5.el6_8.i686.rpm
    MD5: 5f6ea6806c0270342ca08fbaeb10f33aSHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm
    MD5: 4da291adfc0c8aacff110c506fc1ad9aSHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8
 
PPC:
grep-2.20-5.el6_8.ppc64.rpm
    MD5: 6a6c393fbce2e659222615953282d0a1SHA-256: 20287debd8618cb4ba5fbc83ac9ce8d067bcd9520fa6d2bf43e35510b415af35
grep-debuginfo-2.20-5.el6_8.ppc64.rpm
    MD5: d87274a87daa05e43f6373d6d546e4b1SHA-256: 3cfc9639872b6aaf427faf0b96cc398afa1fc969767d8fc928ea3fca12347a4e
 
s390x:
grep-2.20-5.el6_8.s390x.rpm
    MD5: aed50ab79596c3a168cc185bb8ca5acfSHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26
grep-debuginfo-2.20-5.el6_8.s390x.rpm
    MD5: 38576e31bd2b521741a37ad4cb5053f3SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3
 
x86_64:
grep-2.20-5.el6_8.x86_64.rpm
    MD5: 8173367ee8414c790f283d268872ebb2SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm
    MD5: 3fe611b2cb65da4e72c2d0416777411dSHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
grep-2.20-5.el6_8.src.rpm
    MD5: b2234a76d79a546cc0ea2e02ed3fd26bSHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
 
IA-32:
grep-2.20-5.el6_8.i686.rpm
    MD5: 5f6ea6806c0270342ca08fbaeb10f33aSHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm
    MD5: 4da291adfc0c8aacff110c506fc1ad9aSHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8
 
x86_64:
grep-2.20-5.el6_8.x86_64.rpm
    MD5: 8173367ee8414c790f283d268872ebb2SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm
    MD5: 3fe611b2cb65da4e72c2d0416777411dSHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
 
(The unlinked packages above are only available from the Red Hat Network)

1367309 – grep -r has been broken in RHEL 6.7

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

Leave a Reply