Disable curl globbing. Thanks pazz0. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 7f0ebd80a7320b919eb7ad0caae628b8b1e829d3 | |
parent 698e0a4865653b446fee36f3699b1be7dd9fd1f2 | |
Author: eidolon <[email protected]> | |
Date: Fri, 5 Jan 2024 15:11:40 -0500 | |
Disable curl globbing. Thanks pazz0. | |
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 "https://wttr.in/$location?format=%C+%t\n" | |
+curl -sfm 10 --globoff "https://wttr.in/$location?format=%C+%t\n" |