-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Square bracket not found in imap-test.sh #1
Comments
Running as non privileged user:
|
I could verify this behaviour on Ubuntu 16.04. I will investigate into this. In the meantime, you can start the script using bash as the shell. Thanks for reporting this issue. |
I developed this shell script as a bash shell script. Interestingly RHEL and CentOS reference the "sh" to "bash" which allows users on those distributions to call the script with "sh" as the shell. On Debian and its deriving distributions it seems that "sh" is linked to "dash". Apparently, dash interprets the brackets differently then bash. I will check if it is possible to modify the script in a way it runs on both shells. In the meantime, where you able to start the script using "bash" as the shell? |
Yes it works with bash |
Running with Ubuntu 17.10 produces the following:
The text was updated successfully, but these errors were encountered: