lkml.org 
[lkml]   [2009]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] scripts: add typdef removal tool
From
Date
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' \)

or

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 …)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-08-23 15:41    [W:0.295 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site