Avoid grouping inside square brackets and use the shell '&&', '||', and curly braces syntax for composing multiple statements, as this is POSIX-compliant. Some shells like Bash support for grouping, but this is an obsolete XSI-only extension.