Re:A stupid simple make wrapper that makes my life easier
by Hello71 on Friday June 04, 2021 @09:44AM
(#27393523)
more specifically the problem with type is it's not clear whether "An error occurred" includes the case where the command is not found. one could reasonably argue that printing "command not found" is a successful run. additionally, it's only present in the XSI extension. for these reasons, command -v is usually preferred for better POSIX compatibility.
[ Parent
| on HN ]
There are no comments on this comment yet.