On 6/23/17 11:27 AM, Robert Elz wrote:
>     Date:        Thu, 22 Jun 2017 07:51:12 -0400
>     From:        Greg Wooledge <wool...@eeg.ccf.org>
>     Message-ID:  <20170622115111.gq22...@eeg.ccf.org>
> 
> 
>   | $ dash
>   | $ set -- a b
>   | $ IFS=
>   | $ args $*
>   | 1 args: <ab>
> 
> That is simply broken.  Always has been, whatever mistakes were
> in the wording posix used to use to try and explain how it works.

The historical Bourne shell produces <a b>.  (Of course, the historical
Bourne shell didn't allow IFS to be unset, either, so it's not a valid
reference implementation.)  Some current shells, like posh, do the same
thing.

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

Reply via email to