summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsa Venton <asav1410@gmail.com>2019-10-20 13:51:22 +0100
committerAsa Venton <asav1410@gmail.com>2019-10-20 13:51:22 +0100
commitb23685d64631c39f72fb460153acfc31c8b9d6b7 (patch)
treeaa5a333d21055c8eadd741d84950221ede822279
parentbb28f7572e9ad3b79abd48880ee0821e8055a410 (diff)
Adjust formatting of results when returning list of matching stops
-rwxr-xr-xlivetimes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/livetimes.sh b/livetimes.sh
index a16bbc2..aa6af60 100755
--- a/livetimes.sh
+++ b/livetimes.sh
@@ -43,7 +43,7 @@ _stopsreturn() {
# multiple stops returned in $stops so we will return stop names and codes so user can retry
else
for json in $(echo "${stops}" | jq -r '.[] | @base64'); do
- result="$result Stop: $(_jq '.name') |"
+ result="$result Stop: $(_jq '.name') -"
result="$result Code: $(_jq '.stop_id') |"
done
result=$(echo $result | sed 's/ |$//')