Hi,

        While working on a make .mk code, I and Chris Wasser (TDF
on IRC) came across an interesting behavior:

sh -c 'TDF="echo a && echo b";for i in `${TDF}`; do echo "i:$i"; done'

This should return:

i:a
i:b

instead, it returns:

i:a
i:&&
i:echo
i:b

        If this is not a bug, how do we get it working?

        Regards,

-- 
Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
lioux at ( freebsd dot org | linf dot unb dot br )
flames to beloved [EMAIL PROTECTED]
feature, n: a documented bug | bug, n: an undocumented feature

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to