[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exist
From: |
Clark Wang |
Subject: |
Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exists |
Date: |
Fri, 26 Apr 2024 10:28:02 +0800 |
On Fri, Apr 26, 2024 at 2:53 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> I can't reproduce it on macOS.
>
> $ ./bash --norc
> $ touch some.file
> $ echo >&some.file
> $ rm some.file
> $ touch /tmp/file
> $ echo >& /tmp/file
> $ rm /tmp/file
> $ echo $BASH_VERSION
> 5.3.0(1)-alpha
I was using Debian (not sure about the exact version) of WSL2 on
Windows 11. Just tried on macOS (x64) and a Debian 10.13 VM (x64) but
both failed to repro. Weird.
Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exists,
Clark Wang <=