|
From: | pepa65 |
Subject: | Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space |
Date: | Wed, 1 Aug 2018 19:42:30 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 08/01/2018 07:12 PM, Greg Wooledge wrote: > This just reinforces the point that unquoted $@ or $* (or the array > equivalent) is a bug in the script. It gives unpredictable results. If the results are unpredictable, isn't that a bug that wants fixing? That would be a very noble goal, should it not be possible? Peter
[Prev in Thread] | Current Thread | [Next in Thread] |