Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
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 Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • 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 Single Sign On
  • 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 Insights 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

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-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

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

Red Hat

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

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
2023
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
We've updated our <a href='http://www.redhat.com/en/about/privacy-policy' class='privacy-policy'>Privacy Statement</a> effective September 15, 2023.
Red Hat Summit Red Hat Summit
Twitter