sh script works in Linux but not on Freebsd
I have an SH script that works fine in a linux environment, but I get a syntax error when I run it in a freebsd bash environment:the line freebsd is having trouble with is:
function weekly_process() {
27: Syntax error: "(" unexpected
But runs perfectly on a linux system. Anyone know what might be the problem?
The server is running FreeBSD 5.4 with all stable src/current updates