bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assignment of $* to a var removes spaces on unset IFS.


From: Greg Wooledge
Subject: Re: Assignment of $* to a var removes spaces on unset IFS.
Date: Tue, 14 Aug 2018 08:34:31 -0400
User-agent: NeoMutt/20170113 (1.7.2)

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 <http://ftp.gnu.org/gnu/bash/> and then applying the
subsequent patches from <http://ftp.gnu.org/gnu/bash/bash-4.4-patches/>,
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]