From 160a1ff9ede5520b1d33d4f60ae5215981801d41 Mon Sep 17 00:00:00 2001 From: Asa Venton Date: Mon, 21 Oct 2019 21:31:30 +0100 Subject: Add Dest: and ETAs: to output --- livetimes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'livetimes.sh') 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 -- cgit v1.2.3