Permalink
Browse files

eat stdin with 'cat', not 'read' which doesn't seem to work with stdi…

…n (this should fix issue #9)
  • Loading branch information...
gwern committed Nov 16, 2011
1 parent ebe0cc8 commit 25d41434774f89912f90afbf18c05780c16cbec5
Showing with 1 addition and 1 deletion.
  1. +1 −1 spark
View
2 spark
@@ -143,7 +143,7 @@ else
exit
fi
- read data
+ data="`cat`"
fi
# Trim spaces to allow input like '1, 2, 3'

0 comments on commit 25d4143

Please sign in to comment.