Re: [PATCH] rev: fix some issues
Grisha Levit <[email protected]> Thu, 7 May 2026 19:49:15 -0400
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <CAMu=Brrv5H0xmSOF=Qc0kiSMv4bH=-3HsCopT6TMxCa825N+rg@mail.gmail.com> |
On Thu, May 7, 2026 at 7:45 PM Grisha Levit <[email protected]> wrote: > > $ (rev /dev/null; ls -l /proc/self/fd/0) <&- > lr-x------ 1 vm vm 64 May 7 19:14 /proc/self/fd/0 -> /dev/null /dev/null may have been a confusing example to use here, see instead: $ >/tmp/foo; (rev /tmp/foo; ls -l /proc/self/fd/0) <&- lr-x------ 1 vm vm 64 May 7 19:46 /proc/self/fd/0 -> /tmp/foo