It produces syntax errors.
gurumark opened this issue · 0 comments
Hi,
There is no such file called manage-wordpress.sh. So running the command sh manage-wordpress.sh cannot find the file.
If I change the file name to manage_wordpress and run it:
sh manage-wordpress.sh
manage-wordpress.sh: 16: manage-wordpress.sh: function: not found
manage-wordpress.sh: 53: manage-wordpress.sh: function: not found
manage-wordpress.sh: 57: manage-wordpress.sh: [[: not found
manage-wordpress.sh: 66: manage-wordpress.sh: function: not found
manage-wordpress.sh: 68: manage-wordpress.sh: [[: not found
manage-wordpress.sh: 75: manage-wordpress.sh: [[: not found
manage-wordpress.sh: 105: manage-wordpress.sh: function: not found
manage-wordpress.sh: 107: manage-wordpress.sh: Syntax error: "(" unexpected (expecting "}")