[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: find -name should ignore trailing slashes
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2016-11-25 19:15:49
Message-ID: CAK1hOcMddhRYiuqhyFo9Ttsne9jVPaPPh1hKN40ZT4DG1toM_w () mail ! gmail ! com
[Download RAW message or body]
On Mon, Nov 14, 2016 at 3:36 AM, Tavian Barnes
<tavianator@tavianator.com> wrote:
> On 13 November 2016 at 20:53, Tavian Barnes <tavianator@tavianator.com> 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 /).
Fixed in git. Thanks.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic