Subject: bug#52206: Bug: rm -rf /*/*

From: Bob Proulx <[email-masked]>
Date: Tue, 30 Nov 2021 23:49:02 -0700

Bob Proulx wrote:
> Paul Eggert wrote:
> > Robert Swinford wrote:
> > > BTW, zsh globbing doesn’t exhibit this behavior!  It seems it is only a problem in bash.
> >
> > In that case, the bug (whatever it is) wouldn't be a coreutils bug.
>
> I don't understand the comment that zsh doesn't expand the glob /*/*
> and I tried it and verified that it does indeed expand that glob
> sequence.

Lawrence Velazquez made sense of this on the bug-bash list.

    https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00193.html

Bob