Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: Assignment of $* to a var removes spaces on unset IFS. Date: Tue, 14 Aug 2018 08:34:31 -0400 Lines: 17 Approved: bug-bash@gnu.org Message-ID: References: <28958.1534206249@jinx.noi.kre.to> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1534250078 27751 208.118.235.17 (14 Aug 2018 12:34:38 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: User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.137.100.1 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14483 On Mon, Aug 13, 2018 at 09:36:23PM -0400, Bize Ma wrote: > Note that 4.4.19 is newer than what is available in > https://www.gnu.org/software/bash/ The current patch level of bash can be obtained by downloading the most recent tarball from and then applying the subsequent patches from , or whichever directory is appropriate for the current version. The patches for 4.4 currently go up to bash44-023, which would correspond to bash version 4.4.23 once compiled. I will also repeat, once more, my advice that one should NEVER write a script containing an unquoted $* or $@ expansion. It breaks in all kinds of ways in more than one shell. Just don't do it, and these problems go away.