On Sun, May 26, 2002 at 06:03:34AM +1000, Anthony Towns wrote: > On Sat, May 25, 2002 at 03:42:40PM -0400, Clint Adams wrote: > > Below is a list of packages that may use 'command -v' in their #!/bin/sh > > postinsts. Section 11.4 of Policy states that /bin/sh can be a symlink > > to any POSIX-compatible shell, with an exception for 'echo', and that > > package #!/bin/sh scripts must not use "non-POSIX" features. > > The Single Unix Specification requires the "command" exists: > http://www.opengroup.org/onlinepubs/007908799/xcu/command.html. SUS is > the layman's POSIX. 'command' does work on sh compatible shell: 'command -v' does not. -- Luca - De Whiskey's - De Vitis | Elegant or ugly code as well aliases: Luca ^De [A-Z][A-Za-z\-]*[iy]'\?s$ | as fine or rude sentences have Luca, a wannabe ``Good guy''. | something in common: they local LANG="it_IT@euro" | don't depend on the language.
Attachment:
pgppmEc_Lx6oS.pgp
Description: PGP signature