close
The Wayback Machine - https://web.archive.org/web/20200521063723/https://github.com/dylanaraps/pure-bash-bible/issues/95
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples return false positives for aliases and builtins #95

Open
rasa opened this issue Feb 18, 2020 · 0 comments
Open

Examples return false positives for aliases and builtins #95

rasa opened this issue Feb 18, 2020 · 0 comments

Comments

@rasa
Copy link
Contributor

@rasa rasa commented Feb 18, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.