On Sun, Sep 18, 2016 at 12:36 AM, Christopher Larson
<clar...@kergoth.com> wrote:
> The purpose of ‘command’ is to *run* a command, not check if it’s
> available, and ‘type’ is mandated in SuSv3/SuSv4/POSIX. If dash doesn’t
> provide it, it’s broken.

It provides it and works:

% dash
$ if type dash; then echo "dash is found and working"; else echo "Error"; fi
dash is /bin/dash
dash is found and working

Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
Openembedded-devel mailing list

Reply via email to