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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.