ShellCheck


finds bugs in your shell scripts.
You can cabal, apt, dnf, pkg or brew install it locally right now.
Paste a script to try it out:
📄
Your Editor (Ace – loading 800kb of JS)
 
#!/bin/sh
_dockerfreeze() {
    local cur prev opts cmds
    COMREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts="-g -h -v -o --version --help --gitpod --output"
    if [[ ${cur} == -* ]] ; then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
        return 0
    elif [[ ${cur} == r* ]]; then
        COMPREPLY=( $(compgen -W "${opts}" ${cur}) )
        return 0
    fi
}
complete -F _dockerfreeze dockerfreeze
📄
ShellCheck Output
If you paste a script in the editor above, this window will show shellcheck output.

ShellCheck is...

A special thanks to the GitHub Sponsors: GitpodMercedes-Benz BashSupport Pro Route4MeSiemensper1234cavcrosbydcminterphotostructureCronitordjdefisteve-chavezChrLaucjgibsonCelebian LLC.org loves open source BestKruVPSServer.com

Wiki Sitemap