lkml.org 
[lkml]   [2001]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Request for comment -- a better attribution system
Date
> >> 	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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.521 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site