Saturday, July 04, 2020

Re: ls -R bug?

On Sat, Jul 04, 2020 at 02:16:29PM -0600, Todd C. Miller wrote:
> On Sat, 04 Jul 2020 20:59:08 +0200, Richard Ipsum wrote:
>
> > Output of ls -R between OpenBSD and GNU coreutils seems to differ,
> > OpenBSD ls -R will apparently list "hidden" directories like .git,
> > whereas GNU coreutils will not, is this expected behaviour or a bug?
>
> I think this is actually a bug. Historic behavior is to not descend
> into directories that begin with a '.'. Our existing ls code looks
> like it is written to support that behavior but is missing one
> thing.

Hi Todd,

Thanks for the explanation!

Richard

No comments:

Post a Comment