i have the following piece of bashscript:
function get_cms { echo \"input cms name\" read cms cms=${cms,,} if [ \"$cms\" != \"wordpress\" &am
Instead of saying:
if [ "$cms" != "wordpress" && "$cms" != "meganto" && "$cms" != "typo3" ]; then
say:
if [[ "$cms" != "wordpress" && "$cms" != "meganto" && "$cms" != "typo3" ]]; then
You might also want to refer to Conditional Constructs.