[TUHS] Why does shell write to stderr?
Rob Pike
robpike at gmail.com
Fri Apr 8 08:15:21 AEST 2022
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 at gmail.com> wrote:
> On Thu, Apr 7, 2022 at 5:13 PM Douglas McIlroy <
> douglas.mcilroy at 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 at dartmouth.edu> wrote:
>
>> How would you wish to interact with
>> /bin/bash >file
>>
>> Doug
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20220408/41788e94/attachment.htm>
More information about the TUHS
mailing list