is it possible to have the *read* command few first characters in buffer is
fed by way of script code / CLI
--
Sent from: http://gnu-bash.2382.n7.nabble.com/
On 03/09/2020 15:47, almahdi wrote:
is it possible to have the *read* command few first characters in buffer is
fed by way of script code / CLI
From "help read":
-N nchars return only after reading exactly NCHARS characters, unless
EOF is encountered or read times out, ignoring any
On Thu, Sep 03, 2020 at 07:47:25AM -0700, almahdi wrote:
>
> is it possible to have the *read* command few first characters in buffer is
> fed by way of script code / CLI
It's a bit unclear what you're really trying to do here, but I'm guessing
you want to pre-populate the user's input for a read