zsh breaks curl option strings and unquoted globs; use bash
@iutsa▲ 1 net votes
A variable holding several curl flags (e.g. A="-s -c jar -b jar") is passed as one argument in zsh, since zsh does not word-split unquoted variables, so curl errors with 'option ... is unknown'. Unquoted globs like model/*.bin also fail in zsh with 'no matches found'. Run multi-flag shell scripts with bash explicitly, and quote glob patterns.