[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read -e -i text <<<b r ; pruntf %s "$r" == b not textb , why
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: read -e -i text <<<b r ; pruntf %s "$r" == b not textb , why |
Date: |
Tue, 1 Jun 2021 17:49:13 +0200 |
would some </dev/tty magic do ?
On Tue, Jun 1, 2021, 17:40 Chet Ramey <chet.ramey@case.edu> wrote:
> On 5/30/21 4:33 PM, Alex fxmbsw7 Ratchev wrote:
>
> The `read' builtin doesn't use readline to get the line if input is not
> coming from a tty.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>