> Note that common usage
>
> find . -name '*.[chS]' | whatever
>
> becomes
>
> find . -name SCCS -prune -o -name BitKeeper -prune -o \
> -name '*.[chS]' -print | whatever
> ^^^^^^
>
> The -print is needed or find will produce nothing, it's now multiple clauses.
The -print is not needed. See IEEE Std 1003.1-2001
If no expression is present, -print shall be used as the expression.
Otherwise, if the given expression does not contain any of the primaries
-exec, -ok, or -print, the given expression shall be effectively
replaced by:
( given_expression ) -print
Alan the pedantic
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/