> >> Find . -name "*Some-Name*" -type f -print | xargs grep 'Some-Info'
> >> Hate answering with just one line of credible info , But .
> >
> >The above would grep every file. It takes 1 minute and 9.5 seconds.
> >So the distributed maintainer information does not scale well at all.
>
> No it doesn't. It allows you to search for files of a specific naming
> pattern and greps those. So if you needed to know the maintainers of all
> the config.in files, you say:
>
> find . -name "*onfig.in" -type f -print | xargs grep 'P: '
That was an easy problem, and try it to see all the bad matches!
This would be more normal:
find . -type f | xargs egrep -i8 '^[^A-Z]*[A-Z]: .*(net|ip|tcp|eth|ppp)'
That is not a nice and easy command for most people, and if it
isn't exactly right you just wasted over a minute.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:41 EST