[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1251210952.10339.1331.camel@kiste>
Date: Tue, 25 Aug 2009 14:35:52 +0000
From: Matthias Urlichs <matthias@...ichs.de>
To: Jiri Slaby <jirislaby@...il.com>
Cc: "Luis R. Rodriguez" <lrodriguez@...eros.com>,
Nicolas Palix <npalix@...u.dk>, linux-kernel@...r.kernel.org,
Yoann Padioleau <yoann.padioleau@...il.com>,
Julia Lawall <julia@...u.dk>, devel@...uxdriverproject.org,
Joe Perches <joe@...ches.com>,
Amerigo Wang <xiyou.wangcong@...il.com>,
akpm@...ux-foundation.org
Subject: Re: [PATCH v2] scripts: add typdef removal tool
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.
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists