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:12:33 -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 8:49 PM, Robert Elz wrote:
>     Date:        Tue, 19 Mar 2019 08:25:50 -0400
>     From:        Greg Wooledge <address@hidden>
>     Message-ID:  <address@hidden>
> 
>   | Yes, just like here documents do.  And have always done, in all shells.
> 
> That's not correct.   There are shells that don't use files for here
> docs.   Any application that relies on stdin being seekable is broken
> (unless it makes that happen for itself) - the most obvious example
> which is not seekable is when stdin is a terminal.

I'm not saying such an application isn't broken. I'm saying that such
applications exist and have worked with bash.

-- 
``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]