weather.sh
weather.sh copied to clipboard
Error when running weather.sh
weather.sh]$ ./weather.sh ./weather.sh: line 100: [: /tmp/wth-5324363: binary operator expected cat: /tmp/wth-5324363: No such file or directory cat: .json: No such file or directory date: extra operand ‘+%s’ Try 'date --help' for more information. ./weather.sh: line 117: 1711162378-: syntax error: operand expected (error token is "-")
It seems that the path is getting broken up instead of used as is.