syntax error near unexpected token `(' I was given a script to automate some processes. This script gets executed on a Mac in Terminal. The script is a bash script.
However, Terminal is showing
syntax error near unexpected token `('

in
ManagerDaemon=&quot;/Library/LaunchDaemons/com.graphisoft.PortalServerService-v24.0(Manager-2020-07-21).plist&quot;

What could be the issue? How can I remove the error?
ok, so I think the answer has to do with &quot;curly&quot; quotes or &quot;smart&quot; quotes as opposed to &quot;straight&quot; quotes.
I had been using a text editor to edit the script. However, when I switched to an actual code editor, it noticed several &quot;curly&quot; quotes. I replaced those with straight quotes and all is well.