[PATCH v2] scripts: add typdef removal tool

Matthias Urlichs matthias at urlichs.de
Sun Aug 23 13:22:53 UTC 2009

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' \)


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 …)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20090823/a5dc7508/attachment.asc>

More information about the devel mailing list