[PATCH v2] scripts: add typdef removal tool
xiyou.wangcong at gmail.com
Sun Aug 23 16:04:22 UTC 2009
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'
>find $REM_PATH -type f \( -name '*.c' -o -name '*.h' \)
>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.
More information about the devel