Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16624
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: No word splitting for assignment-like expressions in compound assignment |
| Date | Mon, 27 Jul 2020 07:38:42 -0400 |
| Lines | 11 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.137.1595849954.2739.bug-bash@gnu.org> (permalink) |
| References | <6614fa7668daf7f2b450e319a28b624c@ispras.ru> <87o8o1zfpn.fsf@hobgoblin.ariadne.com> <20200727113842.GR22833@eeg.ccf.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1595849954 16654 209.51.188.17 (27 Jul 2020 11:39:14 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| Mail-Followup-To | bug-bash@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <87o8o1zfpn.fsf@hobgoblin.ariadne.com> |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| Received-SPF | none client-ip=139.137.100.1; envelope-from=wooledg@eeg.ccf.org; helo=mail.eeg.ccf.org |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/07/27 07:38:43 |
| X-ACL-Warn | Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] |
| X-Spam_score_int | -8 |
| X-Spam_score | -0.9 |
| X-Spam_bar | / |
| X-Spam_report | (-0.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=1, SPF_HELO_NONE=0.001, SPF_NONE=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 <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200727113842.GR22833@eeg.ccf.org> |
| X-Mailman-Original-References | <6614fa7668daf7f2b450e319a28b624c@ispras.ru> <87o8o1zfpn.fsf@hobgoblin.ariadne.com> |
| Xref | csiph.com gnu.bash.bug:16624 |
Show key headers only | View raw
On Mon, Jul 27, 2020 at 01:31:32AM -0400, Dale R. Worley wrote: > So it seems like the word splitting in "A=(X$Z)" is incorrect. If the documentation doesn't support word splitting in that case, then it's the documentation that will need to change, not the shell. Word splitting in that context is *frequently* used in scripts. Never mind the fact that it's dangerous and wrong -- people use it, a lot. A change to the shell that would stop it from occurring would break countless scripts.
Back to gnu.bash.bug | Previous | Next | Find similar
Re: No word splitting for assignment-like expressions in compound assignment Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-27 07:38 -0400
csiph-web