Re: [PATCH v2] scripts: add typdef removal tool

From: Matthias Urlichs
Date: Tue Aug 25 2009 - 10:37:39 EST


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
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.

Attachment: signature.asc
Description: This is a digitally signed message part