On Thu, Apr 25, 2024 at 6:05 PM Grisha Levit <grishale...@gmail.com> wrote: > > On Thu, Apr 25, 2024, 14:55 Chet Ramey <chet.ra...@case.edu> wrote: >> >> On 4/25/24 12:18 PM, Clark Wang wrote: >> > (I'm using the "devel" branch as the "bash-5.3-testing" branch failed >> > to build for me. HEAD: 8c8daff1e3661c) >> > >> > To reproduce: >> > >> > $ bash53 --norc >> > bash53-5.3# touch /tmp/file >> > bash53-5.3# echo >& /tmp/file >> > bash53: /tmp/file: File exists >> > bash53-5.3# >> >> I can't reproduce it on macOS. >> > Seems to happen if the target is a symlink: > > $ rm -f bar foo > $ ln -s bar foo > $ >& foo > bash: foo: File exists
Actually, I see this on Ubuntu 22.04 but not on macOS.