On 10/19/17 7:00 PM, Dave Horsfall wrote:
On Thu, 19 Oct 2017, Chet Ramey wrote:
Yes, Posix requires that all builtins be
execable. It doesn't require
true and false to be implemented as builtins, though.
Good luck with "cd"...
It doesn't have to do what you think it should. Using `cd' with something
like `find' or `env' is a fine way to test directory accessibility. The
Posix standard contains several examples of such use.
http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap01.html#tag…
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet(a)case.edu
http://cnswww.cns.cwru.edu/~chet/