On Tue 2019-03-19 08:25:50 -0400, Greg Wooledge wrote:
> On Mon, Mar 18, 2019 at 05:18:10PM -0400, Daniel Kahn Gillmor wrote:
>>     strace -o tmp/bash.herestring.strace -f bash -c 'cat <<<"hello there"'
>> It turns out that this creates a temporary file, actually touching the
>> underlying filesystem:
>
> Yes, just like here documents do.  And have always done, in all shells.

Apologies for being unaware of the history.  It looks like there are a
handful of possible approaches today that minimize these fixes, which
may not have been possible on older systems, which i listed upthread.
And they work on arbitrary file descriptors, not just stdin.

Do you think that bash should not improve the situation, at least on
platforms that support these other approaches?

    --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to