Date: Thu, 12 Aug 1999 17:04:12 +1000 From: Bruce Evans <bde@zeta.org.au> To: dzerkel@columbus.rr.com, freebsd-bugs@FreeBSD.ORG Cc: freebsd-gnats-submit@FreeBSD.ORG, imp@village.org Subject: Re: bin/4420: find -exedir doesn't chdir for first entry Message-ID: <199908120704.RAA15766@godzilla.zeta.org.au>
index | next in thread | raw e-mail
> Thus, with my patch:
>
> $ find /tmp -type d -execdir pwd \; -execdir echo {} \;
> /
> tmp
> /tmp
> .X11-unix
> $
>
> Oddly enough, a find of / yeilds a pwd of / and an empty {}. One can
> only wonder.
The XXX comment in f_exedir() says that paths with trailing slashes are
mishandled if they actually occur.
Bruce
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908120704.RAA15766>
