Chet Ramey <[email protected]> wrote:

> On 1/15/19 5:20 PM, Robert Elz wrote:
>
> > As for which shells don't do it, or do it differently, .well, bash is one 
> > ...
> > 
> > magnolia$ echo $BASH_VERSION
> > 4.4.12(1)-release
> > magnolia$ alias foo='echo "x'
> > magnolia$ foo bar"
> > x  bar
> > magnolia$ 
> > 
> > Notice two spaces between the 'x' and 'bar' in the output, if it acted
> > exactly as described, it would have only one, as the expanded input
> > to be rescanned would be
> >     echo "x bar"
> > I don't have bash 5 yet to check that one.
>
> Yes, that was reported as a bug about a year ago (from the austin-group
> list, I think) and fixed, and the fix is in bash-5.0. Let's not count
> that one as a difference.

If this is what I have in mind regarding "inserted spaces", it may be worth to 
rethink the current text.

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
    [email protected] (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to