Syntax error: "(" unexpected when used in a shell script
jeremyfuksa opened this issue · 3 comments
jeremyfuksa commented
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/
mkonecny commented
Would be helpful if you posted the script.
AdrieanKhisbe commented
Hey @3rdmartini , could you provide us the script as @mkonecny suggest so that we can reproduce :)
thanks
AdrieanKhisbe commented
closing due to no activity