Some commands that can help with nuances of shell:<p>Check syntax:<p>sh -n myscript<p>Check for bash-specific syntax:<p>checkbashisms myscript<p>Check for various gotchas:<p>shellcheck myscript<p>Check for style:<p>bashate myscript<p>Check for badness:<p>grep -rE &#x27;(wget|curl).<i>\|( </i>sudo)? *(ba|z|)sh&#x27; myscript