[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090823160422.GA12070@hack>
Date: Mon, 24 Aug 2009 00:04:22 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Matthias Urlichs <matthias@...ichs.de>
Cc: Amerigo Wang <xiyou.wangcong@...il.com>,
"Luis R. Rodriguez" <lrodriguez@...eros.com>,
Nicolas Palix <npalix@...u.dk>, linux-kernel@...r.kernel.org,
Yoann Padioleau <yoann.padioleau@...il.com>,
Julia Lawall <julia@...u.dk>, Joe Perches <joe@...ches.com>,
devel@...uxdriverproject.org, akpm@...ux-foundation.org
Subject: Re: [PATCH v2] scripts: add typdef removal tool
On Sun, Aug 23, 2009 at 03:22:53PM +0200, Matthias Urlichs wrote:
>On Mon, 2009-08-17 at 14:02 +0800, Amerigo Wang wrote:
>> These two 'find's can be merged:
>>
>> find $REM_PATH -type f -name '*.c' -o -name '*.h'
>>
>You mean
>
>find $REM_PATH -type f \( -name '*.c' -o -name '*.h' \)
>
>or
>
>find $REM_PATH -type f -name '*.[ch]'
>
>Otherwise, directory names ending in .h will cause false postiives.
>(Yes, I know that we don't have any of those at the moment, but …)
Yeah, sure. The latter one above is better.
--
Live like a child, think like the god.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists