[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Bug: rm -rf /*/*
From: |
Chet Ramey |
Subject: |
Re: Fwd: Bug: rm -rf /*/* |
Date: |
Tue, 30 Nov 2021 18:34:58 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 |
On 11/30/21 3:53 PM, Robert Swinford wrote:
TWIMC:
This seems like a bug: https://twitter.com/nixcraft/status/1465599844299411458
I was able to replicate the behavior in a container with coreutils version 8.30
and bash 5.0.
Sorry, where's the bug?
(and globbing in zsh evals /*/* to //):
Why? Under what circumstances is that correct?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/