On 13 November 2016 at 20:53, Tavian Barnes <[email protected]> wrote:
> With busybox 1.25.1, it seems that find -name does not ignore trailing
> slashes as it should.
>
> $ busybox find foo/ -name foo
> $ find foo/ -name foo
> foo/
>
> This behaviour is an official POSIX interpretation:
> https://collaboration.opengroup.org/austin/interps/uploads/40/14959/AI-186.txt
>
> Relevant GNU find bug: https://savannah.gnu.org/bugs/?20970

Relatedly,

$ busybox find / -name /

is also broken (should print /).

-- 
Tavian Barnes
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to