Add humidity, wind speed/direction, and localtime to output format. - annna - A… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 38ad690d14ac58090ab23d2c5bf42281da352101 | |
parent d6f5081ba0988cd82cd00564d0e8f28360e20c68 | |
Author: eidolon <?> | |
Date: Wed, 6 Mar 2024 03:50:57 -0500 | |
Add humidity, wind speed/direction, and localtime to output format. | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M weather | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/weather b/weather | |
@@ -6,4 +6,4 @@ | |
} | |
location=$(printf %s "$1" | sed 's, ,\%20,g') | |
-curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t\n" | |
+curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t+%h+%w+%T\n" |