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 does that make? If people agree then I'll > file a bug report against bash.
Apparently 'command -v' is mentionned as optional in POSIX ? In this case, is bash implementing this option the POSIX way ? For the record, I agree with you that bash behviour here is confusing and not terribly useful... Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]