Skip to content

Error when running weather.sh #6

@bderry71

Description

@bderry71

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions