:: Re: [DNG] [OT] bash / quote weirdne…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Florian Zieboll
Päiväys:  
Vastaanottaja: [DNG]
Aihe: Re: [DNG] [OT] bash / quote weirdness
On Tue, 11 Jan 2022 18:52:10 -0500
william moss <bill.m.moss@???> wrote:

> Bash is taking the string in the double quotes as a single command;
> this is well documented. If either the command or parameters have
> spaces, you will have to use eval. Check the bash man page for
> details.
>
> This will also usually work
>     X=$( "command and such" )
> due to the execute block.



Hallo William,

I am replying to the list to share the valid (tested) alternative.
Thanks a lot!

Libre Grüße,
Florian