[vox-tech] trouble running recursive grep

Matt Roper vox-tech@lists.lugod.org
Sun, 10 Mar 2002 11:08:12 -0800


Try this instead:

    cd /usr/src/linux/include
    grep -r pci_dev .

You usually want to give grep a directory name if you're going to search
recursively.


Matt

On Sun, Mar 10, 2002 at 10:56:29AM -0800, eric nelson wrote:
> Why doesn't this work:
> 
> (as root)
> cd /usr/src/linux/include
> grep -r pci_dev *.h
> 
> 
> I get the error
> grep: *.h No such file or directory
> 
> In general, what is the best way to search system include files for specific 
> strings?
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 

*************************************************
* Matt Roper <matt@mattrope.com>                *
* http://www.mattrope.com                       *
* PGP Key: http://www.mattrope.com/mattrope.asc *
*************************************************