Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Andreas Schwab Newsgroups: gnu.bash.bug Subject: Re: No word splitting for assignment-like expressions in compound assignment Date: Mon, 27 Jul 2020 10:02:10 +0200 Lines: 18 Approved: bug-bash@gnu.org Message-ID: References: <87o8o1zfpn.fsf@hobgoblin.ariadne.com> <87pn8hs7wd.fsf@igel.home> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1595836941 7034 209.51.188.17 (27 Jul 2020 08:02:21 GMT) X-Complaints-To: action@cs.stanford.edu Cc: "Dale R. Worley" , Alexey Izbyshev , bug-bash@gnu.org To: Lawrence =?utf-8?Q?Vel=C3=A1zquez?= Envelope-to: bug-bash@gnu.org X-Virus-Scanned: amavisd-new at mnet-online.de X-Auth-Info: 9F/t7gLYgIOFfdFV06BrrdGV9jkrbH3jLIuu/CK9ms2PtpY42YorP3xhDCrQoZbF X-Yow: Why am I in this ROOM in DOWNTOWN PHILADELPHIA? In-Reply-To: ("Lawrence =?utf-8?Q?Vel=C3=A1zquez=22's?= message of "Mon, 27 Jul 2020 03:06:22 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Received-SPF: pass client-ip=2001:a60:0:28:0:1:25:1; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 03:47:55 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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: <87pn8hs7wd.fsf@igel.home> X-Mailman-Original-References: <87o8o1zfpn.fsf@hobgoblin.ariadne.com> Xref: csiph.com gnu.bash.bug:16622 On Jul 27 2020, Lawrence Velázquez wrote: > If word splitting were not performed in compound assignments, this... > > foo=(a b c) > > ...would not work. This is not true. Field splitting is only relevant for words generated by other expansions, not for literal tokens. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."