I am indeed a throwback but programs calling stat or stty to examine their I/O state before deciding how to behave was a shock when I first saw it done, in Berkeley ls I think, and still feels misguided. I understand the convenience but not every convenience is good engineering.

-rob


On Fri, Apr 8, 2022 at 7:38 AM Richard Salz <rich.salz@gmail.com> wrote:
On Thu, Apr 7, 2022 at 5:13 PM Douglas McIlroy <douglas.mcilroy@dartmouth.edu> wrote:
How would you wish to interact with
        /bin/bash >file

I am not sure. I could see the argument either way right now.
 

On Thu, Apr 7, 2022 at 5:13 PM Douglas McIlroy <douglas.mcilroy@dartmouth.edu> wrote:
How would you wish to interact with
        /bin/bash >file

Doug