[Novalug] find or not really or?
shawn wilson
ag4ve.us@gmail.com
Tue May 19 16:55:30 EDT 2015
On Tue, May 19, 2015 at 4:35 PM, Jon LaBadie via Novalug
<novalug@firemountain.net> wrote:
>
> GNU/Linux's find does process both "-name" terms, but if the
> second is false, it skips the "-print" term.
>
> Bottom line, to safely use find's -o, get in the habit of
> grouping the terms with parentheses.
>
> $ find sub '(' -name a -o -name b ")" -print
> sub/b
> sub/a
>
This makes sense - thanks.
When you say "Unix find" is that Sun or OBSD?
More information about the Novalug
mailing list