Closed matthiasdiener closed 3 years ago
For my education, why is
command -v
preferable towhich
? I noticed thatcommand
is a built-in in bash, whilewhich
is not. (both are built-in commands in zsh).
command
is specified by POSIX, but which
is not I think. This eliminates the shellcheck CI error.
For my education, why is
command -v
preferable towhich
? I noticed thatcommand
is a built-in in bash, whilewhich
is not. (both are built-in commands in zsh).