Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

bug in zsh-2.6-beta21



I've just installed zsh 2.6-beta21 and found the following bug:

Under zsh 2.6-beta20:

$ var=`echo "ab\ncd\nef"`
$ echo $var
ab
cd
ef
$ var=`echo "ab\ncd\nef\n"`
$ echo $var
ab
cd
ef

$

This is OK. But under zsh 2.6-beta21:

$ var=`echo "ab\ncd\nef"`
$ echo $var
ab
cd
ef
$ var=`echo "ab\ncd\nef\n"`
$ echo $var
ab
cd
ef
$

The last "\n" is not printed.

Regards,

Vincent Lefevre.




Messages sorted by: Reverse Date, Date, Thread, Author