"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Jul 15, 2004, at 9:10 AM, Jean-Marc Lasgouttes wrote:
"Stephan" == Stephan Witt <[EMAIL PROTECTED]> writes:
Stephan> as far as I know I would do it like that:
Stephan> find path-name-list \( -name foo -o -name bar \) -print
Indeed, thanks. Nirmal, would find src \( -name '*.[Cch]' -or -name '*.C.in' \) work? If it does, I will use that.
Bennett> It works for me.
Hello JMarc, hello Bennett,
if you call me a nit-picker... maybe, you're right. But:
I wrote "find path-name-list \( -name foo -o -name bar \) -print".
The command "find src \( -name '*.[Cch]' -or -name '*.C.in' \)" is a (unneeded) GNU-ism. The standard Unix find doesn't like the "-or". You have to use the "-o" here in case it should stay portable.
Greets,
Stephan