Bug#218530: 'type' and 'command -v' don't work on posh
Thomas Hood writes ("Bug#218530: 'type' and 'command -v' don't work on posh"):
> 'type' and 'command -v' don't work on posh.
>
> The which command works, of course, but it is in /usr/bin/.
`which' is wrong, because we want to know how the shell which is
actually executing the maintainer script will execute the command. If
`which' and `type' disagree then `type' is correct.
See my earlier statement about `which'.
If posh (I don't know what posh is) doesn't support `type command'
then it is quite broken.
Ian.
Reply to: