Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14887

Re: remove empty '' in ${var@Q} result?

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: remove empty '' in ${var@Q} result?
Date 2018-12-03 10:30 -0500
Message-ID <mailman.5086.1543851054.1284.bug-bash@gnu.org> (permalink)
References (2 earlier) <CADv8-oh=vf3d9_KC_ZPaAGHnP79=G9zmeLRwg3BTC1HoPTGyJQ@mail.gmail.com> <CADv8-oievjZF+O8SOENx2oDpP8_-DnpP4Y+dtS07kXUuA=uwkw@mail.gmail.com> <CADv8-og=oox+iZCW5inVM42C=EHkbf5zn57TPFbrxdeZPt-_hQ@mail.gmail.com> <8ebc9858-b55e-d002-62a4-3d281324b9dc@case.edu> <CADv8-oimpbDpf-d-Qy9TJcp5uukG0fbuN5quoKQPRQY0Pb=t5A@mail.gmail.com>

Show all headers | View raw


On 11/28/18 9:58 PM, Clark Wang wrote:
> On Wed, Nov 8, 2017 at 9:46 PM Chet Ramey <chet.ramey@case.edu
> <mailto:chet.ramey@case.edu>> wrote:
> 
>     On 11/7/17 11:38 PM, Clark Wang wrote:
> 
>     >         I made a patch (also attached). Please see if it's ok.
>     >
>     >
>     >     Updated by dealing with empty strings (and malloc'ing 2 more bytes)
>     >     though I'm not sure if it's necessary since the func
>     >     sh_quote_reusable() already handles empty strings.
>     >
>     >
>     > Hi Chet, do you have a look at my patch?
> 
>     I did. It's on the list of possible things for the next version. Since it's
>     only a cosmetic issue, it's not a high priority.
> 
> 
> Hi Chet,
> 
> Is it possible to make the change in the coming 5.0 release?

I am not making changes for bash-5.0 at this point, only bug fixes.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: remove empty '' in ${var@Q} result? Chet Ramey <chet.ramey@case.edu> - 2018-12-03 10:30 -0500

csiph-web