micha/resty

Syntax error: "(" unexpected when used in a shell script

jeremyfuksa opened this issue · 3 comments

I am using resty in a shell script, and any time I call it, I get the following:

/usr/local/bin/resty: 16: /usr/local/bin/resty: Syntax error: "(" unexpected

Yet, I can enter the same commands on the command line and they work as expected.

Why would this be?

ex: resty https://api.parse.com/1/functions/

Would be helpful if you posted the script.

Hey @3rdmartini , could you provide us the script as @mkonecny suggest so that we can reproduce :)
thanks

closing due to no activity