Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16624
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: No word splitting for assignment-like expressions in compound assignment |
| Date | 2020-07-27 07:38 -0400 |
| 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> |
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