[PATCH v2] scripts: add typdef removal tool

Matthias Urlichs matthias at urlichs.de
Tue Aug 25 14:35:52 UTC 2009

On Sun, 2009-08-23 at 19:59 +0200, Jiri Slaby wrote:
> -type f excludes directories.

Yes, but -o binds more loosely.

$ mkdir bar
$ find . -type f -name foo -o -name bar

I like to pay attention to correct idioms. There is no problem in this
case because there are no directories named *.h in the kernel tree — but
people read code like that, and then apply it to situations where it
_does_ matter.
-------------- 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/20090825/1326500e/attachment.asc>

More information about the devel mailing list