Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Martin Schulte Newsgroups: gnu.bash.bug Subject: Re: Command substitution Date: Wed, 3 Jun 2020 09:18:35 +0200 Lines: 21 Approved: bug-bash@gnu.org Message-ID: References: <87mu5kgbxu.fsf@hobgoblin.ariadne.com> <20200603063850.GH8205@medium.hauri> <20200603091835.c349069068c6822c17f1739e@schrader-schulte.de> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1591168729 15644 209.51.188.17 (3 Jun 2020 07:18:49 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: felix Envelope-to: bug-bash@gnu.org In-Reply-To: <20200603063850.GH8205@medium.hauri> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=51.15.128.4; envelope-from=gnu@schrader-schulte.de; helo=sa.ds-gmbh.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/03 03:18:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200603091835.c349069068c6822c17f1739e@schrader-schulte.de> X-Mailman-Original-References: <87mu5kgbxu.fsf@hobgoblin.ariadne.com> <20200603063850.GH8205@medium.hauri> Xref: csiph.com gnu.bash.bug:16358 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