Don't use == in "[ ]" test command for POSIX conformance.
Fix typo in documentation