:: Re: [DNG] [OT] bash / quote weirdne…
Inizio della pagina
Delete this message
Reply to this message
Autore: Florian Zieboll
Data:  
To: [DNG]
Oggetto: 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