Field splitting regression on master branch

Martijn Dekker <[email protected]>
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
As of commit c0674f487c7aec2a3bdf6795cea7e60c9530c360, field splitting is 
broken. Minimal-ish reproducer:

$ dash -c 'IFS=:; v=" :: :: "; set $v; echo $#'
5

Expected output: 2

FYI, this is a nice cross-platform script for testing for field splitting 
regressions (on dash as well):

http://web.archive.org/web/20051225040851/http://www.research.att.com/~gsf/public/ifs.sh

Dash passes this prior to the referenced commit, and fails it after, in 
informative ways.

-- 
||	modernish -- harness the shell
||	https://github.com/modernish/modernish
||
||	KornShell lives!
||	https://github.com/ksh93/ksh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.