Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@gwern

No description provided.

@holman holman merged commit 159b265 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.