Bug#291026: 9.3.3.2 "command -v" example needs tweaking

2005-01-18 Thread Bill Allombert
On Tue, Jan 18, 2005 at 10:48:57AM +0100, Thomas Hood wrote: > sequence of commands which illustrate that "command -v foo" prints > the name of the first executable file "foo" it finds on the PATH, > failing which it prints the first non-executable file "foo" it finds > on the PATH. What sense doe

Bug#291026: 9.3.3.2 "command -v" example needs tweaking

2005-01-18 Thread Thomas Hood
Package: debian-policy Version: 3.6.1.1 Severity: minor Section 9.3.3.2 gives this as an example of how to check for the availability of invoke-rc.d: >if command -v invoke-rc.d >/dev/null 2>&1; then 1. It would be helpful to mention that "command -v" is not POSIX and that therefore, to be