pure-bash-bible
pure-bash-bible copied to clipboard
Examples return false positives for aliases and builtins
Of the three examples here only hash correctly reports if an executable is in the PATH. type -p and command -v both report success on aliases, builtins, etc.
type -P (capital P) does correctly report if an executable is in the PATH.
Perhaps this section could be reworded to make this distinction more clear?