On Mon, Feb 17, 2014 at 01:08:33PM +0400, Artem Chuprina wrote: ... > А вот > > while read line; do var="$var $line"; done <(echo -e "qqq\nwww"); echo > "Var=$var" > выдает > bash: syntax error near unexpected token `<(echo -e "qqq\nwww")' > > zsh - аналогично, почему - не понимаю. Подозреваю порядок подстановки... Попробуйте так while read line; do var="$var $line"; done < <(echo -e "qqq\nwww"); echo "Var=$var"
-- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140217120100.GA25695@localhost.localdomain