Bug 127137 - w8c2q2 wrong grep command line switch
w8c2q2 wrong grep command line switch
Status: CLOSED CURRENTRELEASE
Product: Red Hat Academy
Classification: Retired
Component: RHA030 Curriculum (Show other bugs)
2.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bowe Strickland
Bowe Strickland
:
: 123046 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-07-02 10:17 EDT by Bowe Strickland
Modified: 2007-04-18 13:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-07 12:30:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bowe Strickland 2004-07-02 10:17:18 EDT
2.  To allow the search pattern HELLO to match both hello and HELLO, 
you would use the grep command with which command line switch? 
   A.  -w  
   B.  -r  
X C.  -i  
   D.  -k  
   E.  None of the above  

The 'test' claims that answer 'A' is correct:
     "-w" is match whole word.

But the correct answer is really:
     "-i" is ignore case. 

The question is about case not about word boundry,
which would be something like:
     "HELLO" verus "HELLOTHERE"
Comment 1 Bowe Strickland 2005-01-03 16:30:50 EST
*** Bug 123046 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.