find -name should ignore trailing slashes

Tavian Barnes tavianator at tavianator.com
Mon Nov 14 01:53:17 UTC 2016


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

-- 
Tavian Barnes


More information about the busybox mailing list