Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16630
| From | Lawrence Velázquez <vq@larryv.me> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: No word splitting for assignment-like expressions in compound assignment |
| Date | 2020-07-27 18:19 -0400 |
| Message-ID | <mailman.168.1595888356.2739.bug-bash@gnu.org> (permalink) |
| References | <87o8o1zfpn.fsf@hobgoblin.ariadne.com> <F420E583-E5D4-48BB-98E3-044C700BA07A@larryv.me> <87pn8hs7wd.fsf@igel.home> <EC80FDF6-835B-41BE-89F7-51B3F25C3D38@larryv.me> |
> On Jul 27, 2020, at 4:02 AM, Andreas Schwab <schwab@linux-m68k.org> wrote: > > 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. My fault, I got it mixed up with tokenization. Carry on! vq
Back to gnu.bash.bug | Previous | Next | Find similar
Re: No word splitting for assignment-like expressions in compound assignment Lawrence Velázquez <vq@larryv.me> - 2020-07-27 18:19 -0400
csiph-web