Usually when you see that it's because you're using a bash script and pfSense does not use bash. Some commands do not work. Though here it looks like it's trying to run { as a command. Steve