Matthias Kilian <[EMAIL PROTECTED]> writes:

> On Sun, Nov 09, 2008 at 10:32:33PM +1100, Trent W. Buck wrote:
>> > find -name _darcs -prune -o \( -name \*.o -o -name \*.hi \) -exec rm -f {} 
>> > +
>> > find: illegal option -- n
> [...]
>> Short answer is that -name isn't POSIX, or OS X isn't POSIX compliant.
>
> You always should specify a directory first, i.e.
>
> $ find . -name _darcs ...

Right, mea culpa.

Fixed in "darcs patch: Keep OS X happy by passing a path to find(1)."
...unless I messed up, I don't have an OS X handy to test with.

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to