[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218530: 'type' and 'command -v' don't work on posh



On Tue, Jun 22, 2004 at 04:51:42PM +0200, Thomas Hood wrote:
> On Tue, 2004-06-22 at 16:37, Bill Allombert wrote:
> > FWIW, checking the program is in the path is not sufficient you need to check
> > it is executable:
> > 
> > bash-2.05a$ which foo
> > /usr/local/bin/foo
> > bash-2.05a$ ls -l /usr/local/bin/foo
> > -rw-r--r--    1 root     staff           0 Jun 10 01:46 /usr/local/bin/foo
> > 
> > (command -v and type -p has the same problem.)
> 
> 
> My which seems to be smarter than yours.

It seems to be fixed in sid. I was using woody debianutils version 
1.16.2woody1.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



Reply to: