there was an opportunity, a long time ago, for uname to be a useful utility,
and it was wasted

static probing will not work on systems that have more than one uname
dynamic probing would lose any speed or cross-architecture portability gains

it might be best to move uname to the /opt/ast/bin builtin directory
this can be done by compiling ksh with
        -DSHOPT_CMDLIB_BLTIN -DSHOPT_CMDLIB_DIR

for those that don't know, ksh93 builtins can be associated with a PATH 
directory
if that directory is hit during a search for a command, and the
command is also a builtin, then the builtin is used

the directory need not exist for this to work

so a user happy with the -lcmd builtins could put
        /opt/ast/bin
ahead of /usr/bin:/bin in PATH and get the -lcmd builtins


Reply via email to