bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command substitution


From: Martin Schulte
Subject: Re: Command substitution
Date: Wed, 3 Jun 2020 09:18:35 +0200

Hello Felix!

> Quoting is useless when assigning variable from ouptut of command or
> another variable:

Yes, I assume you are right.

> Unfortunely, I don't retrieve this behaviour in man page.

Me neither, maybe the manual should read

If the substitution appears within double quotes *or as the right-hand
side of an variable assignment*, word splitting and filename expansion are
not performed on the results.

at end of 3.5.4.

Best regards,

Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]