What is the reason for drastic size change of egrep binary in grep-2.20-3.el6.x86_64 ?

Solution Verified - Updated -

Issue

  • What is the reason for drastic size change of egrep binary in grep-2.20-3.el6.x86_64 ?
  • Initially it's size was 108K, whereas now it's 4K ?
[root@localhost ~]# rpm -q grep
grep-2.6.3-6.el6.x86_64
[root@localhost ~]# rpm -ql grep | grep bin
/bin/egrep
/bin/fgrep
/bin/grep
[root@localhost ~]# du -ksh /bin/egrep /bin/fgrep /bin/grep
108K    /bin/egrep
72K /bin/fgrep
112K    /bin/grep

[root@localhost ~]# rpm -q grep
grep-2.20-3.el6.x86_64
[root@localhost ~]# rpm -ql grep | grep bin
/bin/egrep
/bin/fgrep
/bin/grep
[root@localhost ~]# du -ksh /bin/egrep /bin/fgrep /bin/grep
4.0K    /bin/egrep
4.0K    /bin/fgrep
160K    /bin/grep

Environment

  • Red Hat Enterprise Linux 6
  • grep-2.20-3.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.