diff options
author | Asa Venton <asav1410@gmail.com> | 2019-10-21 21:31:30 +0100 |
---|---|---|
committer | Asa Venton <asav1410@gmail.com> | 2019-10-21 21:31:30 +0100 |
commit | 160a1ff9ede5520b1d33d4f60ae5215981801d41 (patch) | |
tree | bae920a81e6d5c7ed1a6928ce3164989f1b20fe2 /livetimes.sh | |
parent | 94d3170401337553cad267aabed4955bf2ddd2ba (diff) |
Add Dest: and ETAs: to output
Diffstat (limited to 'livetimes.sh')
-rwxr-xr-x | livetimes.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/livetimes.sh b/livetimes.sh index 4b22639..5f633f1 100755 --- a/livetimes.sh +++ b/livetimes.sh @@ -25,7 +25,7 @@ _liveresult() { for json in $(echo "${livetimes}" | jq -r '.[] | @base64'); do if [[ $(_jq '.service_number') != $outroute ]]; then result=$(echo $result | sed 's/,$//') - result="$result | $(_jq '.destination')[$(_jq '.service_number')] - $(_jq '.eta'), " + result="$result | Dest: $(_jq '.destination')[$(_jq '.service_number')] - ETAs: $(_jq '.eta'), " elif [ $outroute = $outroute ]; then result="$result $(_jq '.eta'), " fi |