Re: [dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-17 Thread Thomas Monjalon
17/07/2017 14:50, Neil Horman: > On Fri, Jul 14, 2017 at 07:07:07PM +0200, Thomas Monjalon wrote: > > Based on Stephen's idea (originally implemented in a Perl script), > > this is a shell script to find duplicated includes in a file. > > It looks for all the .c and .h files of the git repository.

Re: [dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-17 Thread Neil Horman
On Fri, Jul 14, 2017 at 07:07:07PM +0200, Thomas Monjalon wrote: > Based on Stephen's idea (originally implemented in a Perl script), > this is a shell script to find duplicated includes in a file. > It looks for all the .c and .h files of the git repository. > > It is fast enough because automati

Re: [dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-15 Thread Thomas Monjalon
14/07/2017 20:43, Wiles, Keith: > > On Jul 14, 2017, at 1:39 PM, Wiles, Keith wrote: > >> On Jul 14, 2017, at 12:07 PM, Thomas Monjalon wrote: > >> +cd $(dirname $(readlink -m $0))/.. > > > > I tried the script it works, but I am concerned about the ‘cd’ above as it > > does all of the the repo

Re: [dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-14 Thread Wiles, Keith
> On Jul 14, 2017, at 1:39 PM, Wiles, Keith wrote: > > >> On Jul 14, 2017, at 12:07 PM, Thomas Monjalon wrote: >> >> Based on Stephen's idea (originally implemented in a Perl script), >> this is a shell script to find duplicated includes in a file. >> It looks for all the .c and .h files of t

Re: [dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-14 Thread Wiles, Keith
> On Jul 14, 2017, at 12:07 PM, Thomas Monjalon wrote: > > Based on Stephen's idea (originally implemented in a Perl script), > this is a shell script to find duplicated includes in a file. > It looks for all the .c and .h files of the git repository. > > It is fast enough because automatically

[dpdk-dev] [PATCH] devtools: add script to find duplicated includes

2017-07-14 Thread Thomas Monjalon
Based on Stephen's idea (originally implemented in a Perl script), this is a shell script to find duplicated includes in a file. It looks for all the .c and .h files of the git repository. It is fast enough because automatically well parallelized. Suggested-by: Stephen Hemminger Signed-off-by: T