Add EXAMPLES section showing the use of -a and -s flags and how which(1)
treates duplicates.
Details
Details
- Reviewers
gbe - Group Reviewers
manpages - Commits
- rS366122: Fix typo and environment variable macro
rS366119: which(1): Add EXAMPLES section to manpage
- mandoc -Tlint clean
- igor clean (a spurious warning for the first line)
- aspell happy
- man ./which.1 renders the page properly
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/which/which.1 | ||
---|---|---|
72 ↗ | (On Diff #76206) | Is there a reason, why you use the full path of the executable? |
usr.bin/which/which.1 | ||
---|---|---|
72 ↗ | (On Diff #76206) |
First of all, thanks for reviewing and sorry for my late response. I was AFK for some days :-) I did it for consistency. The examples that play with $PATH need the full path, or the which command will not be found. I see a couple of options:
Thanks! |
usr.bin/which/which.1 | ||
---|---|---|
72 ↗ | (On Diff #76206) | Oh, I wasn't aware that the full path is needed if a specific PATH variable is set. Then I would leave it as is. |