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
You have a file that begins '-d' I expect. Use 'grep -- garcia *'.