I've noticed this under 9.0-RELEASE-p5

#!/bin/sh
#####################################################
ftest_dot ()
{
    local i

    for i in $*
    {
        echo "$i"
    }
}

ftest_monkey ()
{
    local i

    for i in $@
    {
        echo "$i"
    }
}


echo ============
ftest_dot one 'spaced path' two ''
echo ============
ftest_monkey one 'spaced path' two ''
echo ============

exit 55



Output:
-------
============
one
spaced
path
two
============
one
spaced
path
two
============


Expected output is:
-------------------
============
one
spaced
path
two
============
one
spaced path
two
============


I hope fix'll get into 9.1



Domagoj Smolčić
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to