bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "here strings" and tmpfiles


From: Chet Ramey
Subject: Re: "here strings" and tmpfiles
Date: Fri, 22 Mar 2019 10:08:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.3

On 3/19/19 9:07 AM, Daniel Kahn Gillmor wrote:
> Thanks for the feedback, Eduardo--
> 
> On Mon 2019-03-18 17:40:17 -0700, Eduardo A. Bustamante López wrote:
>> I don't think the implementation details of herestrings are documented 
>> anywhere,
>> and I'm not too sure if they should (i.e. IMO if you need that degree of 
>> control
>> over the implementation details, then you should use something other than
>> shell).
> 
> I hear you in general -- i also don't want the documentation to be as
> detailed as the source code.  But casually sending ephemeral data to
> disk is a risk that i think ought to be avoided or at least avoidable.

It's a risk that most shells and shell users accept, and have for many
years. That doesn't suggest there's no risk, but that it's minor.


> If bash was in the habit of writing the environment to disk, i think
> users would rightly complain.

This is a straw man. I assume you're exaggerating for effect.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]