Glenn Fowler wrote: [snip] > 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
Is there an easy way to allow multiple dirs in SH_CMDLIB_DIR ? In Solaris /bin is a soft link to /usr/bin - but the builtin commands in Solaris ksh93 only appear in /bin: -- snip -- % builtin | /usr/bin/fgrep "/" /bin/basename /bin/cat /bin/chmod /bin/cmp /bin/cut /bin/dirname /bin/head /bin/logname /bin/mkdir /bin/uname /bin/wc -- snip -- ... but Solaris scripts madly reference them with both "/usr/bin/name_of_program" and "/bin/name_of_program" (or use something like "PATH=/usr/bin:/bin" etc.), sometimes even within the same script... ;-( IMO both "/usr/bin/name_of_program" and "/bin/name_of_program" should be listed by % builtin | /usr/bin/fgrep "/" # if /bin/ is a link to /usr/bin/ ... or not ? Comments/ideas/suggestions welcome... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)