bug-bash
[Top][All Lists]
Advanced

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

Re: splitting/whitespace in expansions of ${*} vs ${*/}


From: Chet Ramey
Subject: Re: splitting/whitespace in expansions of ${*} vs ${*/}
Date: Sat, 25 Mar 2017 22:32:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 3/25/17 7:26 AM, Grisha Levit wrote:
> It looks like using ${var/pattern} causes some changes in field-
> splitting and whitespace-trimming behavior, even in the (presumably)
> no-op case of ${*/}:

Thanks for the report.  Look like more fallout from Posix interp 888.
I'll fix these, or at least make the behavior consistent where Posix
leaves it undefined, for the next bash version.

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://cnswww.cns.cwru.edu/~chet/



reply via email to

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