On 2020-11-08 21:41:51 +, Harald van Dijk wrote:
>
> There are two good workarounds. One is yours, which ensures read a b is not
> executed in a subshell environment. Depending on the use case, another good
> alternative is
>
> echo 12 34 | {
> read a b
> echo "'${a}''${b}'"
> }
>
> This
On 08/11/2020 20:18, Hadrien Lacour wrote:
On Sun, Nov 08, 2020 at 09:12:13PM +0100, chiasa.men wrote:
Ahoy,
how to get the following idiom ash-like translated? (I just called busybox on
my raspbian buster)
echo '12 34' | read a b ; echo "'${a}''${b}'"
Doesnt the manual state that "The
On Sun, Nov 08, 2020 at 09:12:13PM +0100, chiasa.men wrote:
> Ahoy,
>
> how to get the following idiom ash-like translated? (I just called busybox on
> my raspbian buster)
>
>
> echo '12 34' | read a b ; echo "'${a}''${b}'"
>
>
> Doesnt the manual state that "The read utility shall read a sing
Ahoy,
how to get the following idiom ash-like translated? (I just called busybox on
my raspbian buster)
echo '12 34' | read a b ; echo "'${a}''${b}'"
Doesnt the manual state that "The read utility shall read a single logical
line from standard input into one or more shell variables."
https