On Wed, 8 Nov 2006 18:06:30 -0500 Clint Adams <sch...@debian.org> wrote:
> > Indeed, you're right, sorry about that. That means that a POSIX
> > script has no mean to verify whether a command exists or not.
> > 
> > I wonder why POSIX left it out. It was in the Bourne shell since
> > SVR2 and certainly in ksh from the start.
> 
> Maybe they couldn't decide between 'command -v', 'type', 'whence',
> 'which', or any other builtins out there.  You could try asking on the
> austin list, or file a defect report.

Sorry to necrobump this bug, but as of POSIX 2008, "command -v" is required.

See discussion at https://stackoverflow.com/q/34572700
as well as the specification at
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html

posh-0.13.2 does not provide command -v, please provide it for POSIX
2008 conformance.

Thanks,
-- 
Leah Neukirchen  <l...@vuxu.org>  https://leahneukirchen.org/

Reply via email to