Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2016:2000 - Bug Fix Advisory
Issued:
2016-10-04
Updated:
2016-10-04

RHBA-2016:2000 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

grep bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated grep packages that fix one bug are now available for Red Hat Enterprise Linux 6.

Description

The grep utility searches through textual input for lines that contain a match to a specified pattern and then prints the matching lines. The GNU grep utilities include grep, egrep, and fgrep.

This update fixes the following bug:

  • In the past, the "grep -r PATTERN" command incorrectly read from the standard input instead of recursively scanning the current directory for files containing the PATTERN. This has been fixed in a past update. However, the new correct behavior broke some scripts that assumed the old functionality.

This update introduces a backward compatibility environment variable GREP_LEGACY_R. If set to '1', it makes grep behave the old incorrect way, and can be used to make the old scripts work again. (BZ#1367309)

Users of grep are advised to upgrade to these updated packages, which fix this bug.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64
  • Red Hat Enterprise Linux Server 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
  • Red Hat Enterprise Linux Workstation 6 x86_64
  • Red Hat Enterprise Linux Workstation 6 i386
  • Red Hat Enterprise Linux Desktop 6 x86_64
  • Red Hat Enterprise Linux Desktop 6 i386
  • Red Hat Enterprise Linux for IBM z Systems 6 s390x
  • Red Hat Enterprise Linux for Power, big endian 6 ppc64
  • Red Hat Enterprise Linux for Scientific Computing 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

Fixes

  • BZ - 1367309 - grep -r has been broken in RHEL 6.7

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
i386
grep-2.20-5.el6_8.i686.rpm SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
i386
grep-2.20-5.el6_8.i686.rpm SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8

Red Hat Enterprise Linux Workstation 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
i386
grep-2.20-5.el6_8.i686.rpm SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8

Red Hat Enterprise Linux Desktop 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
i386
grep-2.20-5.el6_8.i686.rpm SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8

Red Hat Enterprise Linux for IBM z Systems 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
s390x
grep-2.20-5.el6_8.s390x.rpm SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26
grep-debuginfo-2.20-5.el6_8.s390x.rpm SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3

Red Hat Enterprise Linux for Power, big endian 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
ppc64
grep-2.20-5.el6_8.ppc64.rpm SHA-256: 20287debd8618cb4ba5fbc83ac9ce8d067bcd9520fa6d2bf43e35510b415af35
grep-debuginfo-2.20-5.el6_8.ppc64.rpm SHA-256: 3cfc9639872b6aaf427faf0b96cc398afa1fc969767d8fc928ea3fca12347a4e

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
s390x
grep-2.20-5.el6_8.s390x.rpm SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26
grep-debuginfo-2.20-5.el6_8.s390x.rpm SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
x86_64
grep-2.20-5.el6_8.x86_64.rpm SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597
grep-debuginfo-2.20-5.el6_8.x86_64.rpm SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8
i386
grep-2.20-5.el6_8.i686.rpm SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9
grep-debuginfo-2.20-5.el6_8.i686.rpm SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6

SRPM
grep-2.20-5.el6_8.src.rpm SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e
s390x
grep-2.20-5.el6_8.s390x.rpm SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26
grep-debuginfo-2.20-5.el6_8.s390x.rpm SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility