Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Keep individual numbers separate

Instead of interpreting input "1 3 2 6 8" as "13268", treat spaces
as commas then condense.
  • Loading branch information...
commit cf1269b47b73376d75fcb88135b143f53c46144f 1 parent 7736c9e
Patrick Lucas patricklucas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spark
2  spark
View
@@ -147,7 +147,7 @@ else
fi
# Trim spaces to allow input like '1, 2, 3'
-data=$(echo $data | tr -d ' ')
+data=$(echo $data | tr -s ' ' ',')
setup_array $data
print_ticks $data
Please sign in to comment.
Something went wrong with that request. Please try again.