[vox-tech] trouble running recursive grep

eric nelson vox-tech@lists.lugod.org
Sun, 10 Mar 2002 15:51:25 -0800


Thanks for the good ideas, guys.  I'll try them all, and learn something. ;~)

On Sunday 10 March 2002 12:23 pm, you wrote:
> -----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 since
> 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
>
> - --
> No Microsoft products were used in any way for the creation of this
> message. 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=
> =Rn21
> -----END PGP SIGNATURE-----
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech