Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Bize Ma Newsgroups: gnu.bash.bug Subject: Re: Assignment of $* to a var removes spaces on unset IFS. Date: Tue, 14 Aug 2018 22:44:01 -0400 Lines: 90 Approved: bug-bash@gnu.org Message-ID: References: <28958.1534206249@jinx.noi.kre.to> <20180814020952.GA20145@ubuntu> <20180814031752.GB20145@ubuntu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1534301049 20506 208.118.235.17 (15 Aug 2018 02:44:09 GMT) X-Complaints-To: action@cs.stanford.edu To: Bize Ma , Robert Elz , bug-bash , Chet Ramey Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=W85eRi7YRJQoqQEW/hm+ScgQ9rSzcMBqQUtFr1wSVB0=; b=pGlcp7wcUyz1TTYAvuOeN6PK++kmraB+WaTHIBxOJh17vAdXCcmuf2bYPP7W9lBnbu 6LVU0ltuChAPeeSeJWBwtPKx+1H162XVD+zoKUW4M6xlSp6FVq0i9SEfTXvTdfXZnAgZ uoImMIaYzi86d1TxBISFMbptqdC1Akb4uz+nVgNykXx//1m2PNXNw2jXCIgqtzS8sKHY DaYYR4N7x8DQrhlt2WR8uFEpsDc5NulXV9DNjd3tYdZwC0uqpM64LlcDrEhVw3Q+q4J5 H7bSClTXx0VMemchOJ2H7HjUqmEMQ2JCpnEynnAYSK9LHk7+35RBPsKOTaX//k6aGj6A 526w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=W85eRi7YRJQoqQEW/hm+ScgQ9rSzcMBqQUtFr1wSVB0=; b=uSyEDnZURSH8VmJziNRiBZnRayJcZArY5q9Ssket3xFU48KBEAiSOX7C8UtCD2vqcy Mairq2soiMO3Z4xEPRHHJWTRrnRDi5fj8ueCk11V6YdAW4GEq0Q7EE8T+xi47Fn8TFaJ ra9QZF4o+1Dr7jlu4MNYPIi2xjHq1EdEqHoBBt9yZ3+GYAQV4ETPVLZ9cS0OQcVD7LBH 50i37gLaqrBg3Xj/XOS50Cc0xeu73TouowUbDW84Of18yvrAJxZeSn9woDlzXunM9mXO JzW771alY40kAcAiWdLLovZ7XeyygzUbCGiEgBaKdKe+7YauKAhtNbTzq1vSHWplGv+1 otuw== X-Gm-Message-State: AOUpUlH2SBCCrhhOK4GSvtTz+pOLHjxmPTseWjX1zoqvzDi7Hu0+R0qP jgj3YYEjEJnMBTt01VDAXEFWCqIrX++VgqezzfQ= X-Google-Smtp-Source: AA+uWPymaW3buDzeloLO2Cax593umq0MnSYpl0wjLswPsRXxsgWTjlSm7eJxls3RJtnJEq7ISesahMKq6f3XGLNj9zE= X-Received: by 2002:aca:4e4d:: with SMTP id c74-v6mr23826788oib.16.1534301042361; Tue, 14 Aug 2018 19:44:02 -0700 (PDT) In-Reply-To: <20180814031752.GB20145@ubuntu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22c X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:14489 2018-08-13 23:17 GMT-04:00 Eduardo A. Bustamante L=C3=B3pez : > On Mon, Aug 13, 2018 at 10:52:20PM -0400, Bize Ma wrote: > (...) My point is that, in the context of bug reports, it's > important that you always test against the *unreleased* version of the > code, > Not if the version to test is the released one. > (...)Here's the response from Chet: > > http://lists.nongnu.org/archive/html/bug-bash/2017-10/msg00023.html > > The fix for this issue is already in the Git repository (devel branch) an= d > in > Bash 5.0. > Excellent, that is good to know. There is a solution. Chet explains it clearly. Just that it is not applied to the present release version 4.4. Maybe it should be put into a "stack of pending patches" that all will be applied when a new number release (4.5) has to be done for whatever other reason. When that happens, we can say that it "is solved for current release". I cannot answer for Chet, but please consider this: > > The fix for this bug breaks backwards compatibility In what sense? Other shells don't have this issue and the change got introduced in 4.3, so, this change is backward compatible with several versions up to 4.3 (backward compatible). > so that means it cannot be > a patch-level fix for 4.4. It should either be a minor version increase > (4.5) or > go into the next major release, which is 5.0 (which was already declared > alpha > state, and includes the fix). > I am not who must make that call. Someone else must. If this is not going to be solved in 4.4, then it is a "wontfix" for that release. > It seems about time to get it solved. Or say that it won't be. > > Again, it's fixed already No, it is not "fixed already" on 4.4 release. Let's call things as they are, not as anyone "hope" they can be. and the fix is scheduled to go out in the next > release (5.0). > Excellent, great, version 5.0 has one issue less to solve. Yay!! > Given that, do you think this bug is severe enough to have to issue a new > minor > version just for it? (4.5), > Don't ask me, it is not a call that I can make, I am just a random user. > or can we just wait for 5.0 to come out which fixes this and a bunch of > other > bugs? (see the CHANGES file, in particular, entry `oo', > http://git.savannah.gnu.org/cgit/bash.git/diff/CHANGES?h=3D > bash-5.0-testing&id=3D9a51695bed07d37086c352372ac69d0a30039a6b) > Yes, there it says that some changes were made to match POSIX interpretation of $* $@. I believe that the issue presented in the OP is one of those changes for 5.0.