Hello,
On Sunday 09 November 2008 11:50, Eric Kow wrote:
> Hi Trent,
>
> I noticed the following output doing a make clean on my Mac:
>
> find -name _darcs -prune -o \( -name \*.o -o -name \*.hi \) -exec rm -f {} +
> find: illegal option -- n
> find: illegal option -- a
> find: illegal option -- m
> find: illegal option -- e
> find -name _darcs -prune -o \( -name \*.p_o -o -name \*.p_hi \) -exec rm -f
{} +
> find: illegal option -- n
> find: illegal option -- a
> find: illegal option -- m
> find: illegal option -- e
On a Mac, you need an explicit "." as first argument to indicate current
directory. Thus:
> $ find -name xxx
> find: illegal option -- n
> find: illegal option -- a
> find: illegal option -- m
> find: illegal option -- e
> find: xxx: No such file or directory
> $ find . -name xxx
> $
> ...
Best regards
Thorkil
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users