[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: scanf-like parsing
From: |
pepa65 |
Subject: |
Re: Feature Request: scanf-like parsing |
Date: |
Sat, 23 Jan 2021 01:18:35 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 23/01/2021 00.55, Greg Wooledge wrote:
> People just have a deep, almost religious, loathing
> against creating their own temp files.
>
> And yet, these same people are *perfectly* happy if some tool creates
> a temp file for them -- as long as they don't have to see any of the
> details or do any of the work.
Yes, a temp file on a virtual filesystem in memory would work. I think
the idea is to stay in RAM. But to then get it into a variable, you'd
have to use mapfile, and then get the array to be in a single variable.
There are quite a number of operations here that could be elided by some
elegant syntactic sugar to the benefit of all.
Peter
- Re: Feature Request: scanf-like parsing, (continued)
- Re: Feature Request: scanf-like parsing, Léa Gris, 2021/01/25
- Re: Feature Request: scanf-like parsing, Chet Ramey, 2021/01/25
- Re: Feature Request: scanf-like parsing, Greg Wooledge, 2021/01/25
- Re: Feature Request: scanf-like parsing, Chet Ramey, 2021/01/25
- Re: Feature Request: scanf-like parsing, pepa65, 2021/01/26
- Re: Feature Request: scanf-like parsing, Oğuz, 2021/01/26
- Re: Feature Request: scanf-like parsing, pepa65, 2021/01/22
- Re: Feature Request: scanf-like parsing, Greg Wooledge, 2021/01/22
- Re: Feature Request: scanf-like parsing, Léa Gris, 2021/01/22
- Re: Feature Request: scanf-like parsing, Léa Gris, 2021/01/22
- Re: Feature Request: scanf-like parsing,
pepa65 <=
- Re: Feature Request: scanf-like parsing, Ángel, 2021/01/22
- Re: Feature Request: scanf-like parsing, pepa65, 2021/01/22
- Re: Feature Request: scanf-like parsing, William Park, 2021/01/22