Permalink
Browse files

Merge pull request #30 from gwern/patch-1

generalize to translating all whitespace, not one character (the space)
  • Loading branch information...
2 parents 6e4df7a + cb3b13a commit 159b2657d44ea97cd4a89b32f1518734b699203f @holman committed Nov 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spark
View
2 spark
@@ -151,7 +151,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 159b265

Please sign in to comment.