https://kotlinlang.org logo
m

Matt Malone

06/06/2019, 8:49 PM
Something funny seems to be going on with quoted strings. In bash I get this:
Copy code
:) ~
$ echo "12345" | wc
       1       1       6
:) ~
$ echo 12345 | wc
       1       1       6
But kash gives me this:
Copy code
/Users/matt.malone$ echo "12345" | wc
       1       0       1

/Users/matt.malone$ echo 12345 | wc
       1       1       6