Browse files

generalize to translating all whitespace, not one character (the space)

  • Loading branch information...
1 parent ebe0cc8 commit cb3b13a082b510a20324db9b2964061b2b13c292 @gwern committed Nov 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spark
View
2 spark
@@ -147,7 +147,7 @@ else
fi
# Trim spaces to allow input like '1, 2, 3'
-data=$(echo $data | tr -s ' ' ',')
+data=$(echo $data | tr -s '[:space:]' ',')
setup_array $data
print_ticks $data

0 comments on commit cb3b13a

Please sign in to comment.