During installation of Red Hat Enterprise Linux 5 "grep -Fi" may not give the correct output

Solution Verified - Updated -

Issue

  • In the installer context (where grep is actually symbolically linked to busybox), running grep -FI may not give correct output. For example:
[root@host ~]# echo HP | grep -Fi hp 
[root@host ~]# echo HP | grep -i hp 
    HP
  • Both commands hould return the same output ("HP").

Environment

  • Red Hat Enterprise Linux 5.5
  • busybox-1.2.0-7.el5
  • Installation or Rescue Environment

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.