summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/status/sb-forecast2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-forecast b/.local/bin/status/sb-forecast
index c615161..2baf81d 100755
--- a/.local/bin/status/sb-forecast
+++ b/.local/bin/status/sb-forecast
@@ -9,7 +9,7 @@ weatherglyph=$(curl -sf "wttr.in/Lyon?format=%c" 2>&1 || exit 1) # >$weatherglyp
moonglyph=$(curl -sf "wttr.in/?format=%m" 2>&1 || exit 1) # >$moonglyph || exit 1
printf "%s%s" \
- "$(echo "$weatherglyph ")" \
+ "$(echo "$weatherglyph")" \
"$(echo "$weatherreport" | sed '16q;d' | grep -wo "[0-9]*%" | sort -rn | sed "s/^/ /g;1q" | tr -d '\n')"
echo "$weatherreport" | sed '13q;d' | grep -o "m\\([-+]\\)*[0-9]\\+" | sed 's/+//g' |