Bug 119065

Summary: grep: unknown directories method
Product: [Fedora] Fedora Reporter: Marius Andreiana <marius.andreiana>
Component: grepAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-24 17:19:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Andreiana 2004-03-24 16:39:46 UTC
Description of problem:
grep gives error
grep: unknown directories method
for some directories.

Version-Release number of selected component (if applicable):
grep-2.5.1-17.4.i386.rpm
(using both FC1 and updated version)

How reproducible:
100%

Steps to Reproduce:
1. login as root
2. cd /var/log/samba
3. grep word *

 
Actual results:
[root@marte samba]# grep garcia * 
grep: unknown directories method
[root@marte samba]# cd ..
[root@marte log]# grep garcia *
[root@marte log]#


Expected results:
grep the files


Additional info:
found another report here
http://www.linuxsa.org.au/mailing-list/2003-06/892.html

Comment 1 Tim Waugh 2004-03-24 17:19:03 UTC
You have a file that begins '-d' I expect.  Use 'grep -- garcia *'.