From 762eadd9d19e1433a6552e86ec6a68b9f4413dc2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 17 Feb 2023 12:12:10 -0500 Subject: [PATCH] fix #1275 --- .local/bin/statusbar/sb-forecast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast index e28f22f..2a6440b 100755 --- a/.local/bin/statusbar/sb-forecast +++ b/.local/bin/statusbar/sb-forecast @@ -25,7 +25,7 @@ getdailyhighlow() { echo "$weatherdata" | sed '13q;d' | # Extract line 13 from file grep -o "m\\([-+]\\)*[0-9]\\+" | # Find temperatures in the format "m" sed 's/[+m]//g' | # Remove '+' and 'm' - sort -n -k 2n | # Sort in ascending order + sort -g | # Sort in ascending order sed -e 1b -e '$!d' # Extract the first and last lines }