Messages in this thread | | | Subject | Re: [PATCH v2] scripts: add typdef removal tool | From | Matthias Urlichs <> | Date | Tue, 25 Aug 2009 14:35:52 +0000 |
| |
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. [unhandled content-type:application/pgp-signature] | |