|
Which test syntax to use?
I found out that you can use [ test-condition ] or [[ test-condition ]] in shell scripts . To me the [[ test-condition ]] syntax seems to resemble other programming lanuage syntax by support && and || logical operators. Is one syntax preferred over the other?
|