[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Assignment of $* to a var removes spaces on unset IFS.
From: |
Eduardo A . Bustamante López |
Subject: |
Re: Assignment of $* to a var removes spaces on unset IFS. |
Date: |
Mon, 13 Aug 2018 19:09:52 -0700 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Aug 13, 2018 at 09:36:23PM -0400, Bize Ma wrote:
(...)
> Please, do not waste our time in incorrect claims.
>
> Do your homework and test !
(...)
Did you test Bash 5.0? Because that's where the current bug fixes are going to.
I don't see Chet releasing a new version of 4.4 to fix something that's already
fixed there.
dualbus@ubuntu:~/src/gnu/bash$ cat /tmp/script
echo $BASH_VERSION
set -- " foo " " bar baz " " quux "
unset IFS
a=$*
b="$*"
printf '[%s]' "$a" "$b"; echo
dualbus@ubuntu:~/src/gnu/bash$ bash /tmp/script
4.4.19(1)-release
[foo bar baz quux][ foo bar baz quux ]
dualbus@ubuntu:~/src/gnu/bash$ ./bash /tmp/script
5.0.0(1)-alpha
[ foo bar baz quux ][ foo bar baz quux ]
Please read this thread:
* http://lists.nongnu.org/archive/html/bug-bash/2017-09/msg00058.html
- Assignment of $* to a var removes spaces on unset IFS., Bize Ma, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS., Robert Elz, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS., Eduardo Bustamante, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS., Bize Ma, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS.,
Eduardo A . Bustamante López <=
- Re: Assignment of $* to a var removes spaces on unset IFS., Bize Ma, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS., Eduardo A . Bustamante López, 2018/08/13
- Re: Assignment of $* to a var removes spaces on unset IFS., Pierre Gaston, 2018/08/14
- Re: Assignment of $* to a var removes spaces on unset IFS., Bize Ma, 2018/08/14
- Re: Assignment of $* to a var removes spaces on unset IFS., Chet Ramey, 2018/08/15
- Re: Assignment of $* to a var removes spaces on unset IFS., Greg Wooledge, 2018/08/14
- Re: Assignment of $* to a var removes spaces on unset IFS., Chet Ramey, 2018/08/15
- Re: Assignment of $* to a var removes spaces on unset IFS., Robert Elz, 2018/08/14