Menu

#16 Flags to `command` are overly restricted

open
nobody
None
5
2017-11-13
2017-11-13
mcandre
No

POSIX sh declares more flags to the command command than checkbashisms accepts. checkbashisms thinks that -p is the only POSIX compliant flag, but this actually accepts -v and -V. In fact, command -V <thing> is the recommended POSIX portable equivalent to type <thing>.

Discussion


Log in to post a comment.