[vox-tech] trouble running recursive grep

Ryan vox-tech@lists.lugod.org
Sun, 10 Mar 2002 12:23:30 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd try somthing like.....

grep -r pci_dev . | grep .h

this greps the results of the first grep for lines containing .h and sinc=
e=20
the filename is included, should be somewhat helpful.

On Sunday, March 10 2002 10:56 am, 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

- --=20
No Microsoft products were used in any way for the creation of this messa=
ge.
PGP Public key at http://mother.com/~ryan/ryan_at_mother_dot_com.asc
It is also on the servers: Key ID 0x72177BC7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8i8DCEd9E83IXe8cRAkCEAKCsjjnzObOKCRlsaSluNzIDhSskdgCdEXbC
rodKjFf3kuD65EW1gYYLjRM=3D
=3DRn21
-----END PGP SIGNATURE-----