Disable curl globbing. Thanks pazz0. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit 7f0ebd80a7320b919eb7ad0caae628b8b1e829d3
DIR parent 698e0a4865653b446fee36f3699b1be7dd9fd1f2
HTML Author: eidolon <me@svickova.ma>
Date: Fri, 5 Jan 2024 15:11:40 -0500
Disable curl globbing. Thanks pazz0.
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M weather | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/weather b/weather
@@ -6,4 +6,4 @@
}
location=$(printf %s "$1" | sed 's, ,\%20,g')
-curl -sfm 10 "https://wttr.in/$location?format=%C+%t\n"
+curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t\n"