ZSH: why error using array: "illegal character: ^M"?

Posted by HH on Stack Overflow See other posts from Stack Overflow or by HH
Published on 2010-04-17T15:38:07Z Indexed on 2010/04/17 15:43 UTC
Read the original article Hit count: 498

Filed under:
|
|
$ values=( 300 400 )
$ echo "scale=20; $values[1]-$values[2]" | bc
(standard_in) 1: illegal character: ^M         // Why does it not print -100?
$ echo $values                                 // no ^M sign found!
300 400

© Stack Overflow or respective owner

Related posts about zsh

Related posts about beginner