On Mon, 25 Sep 2006 08:31:34 -0400 James Carlson wrote:
> Is it possible to discuss the utility of this library for things other
> than a new /usr/bin/wc implementation, or is the eventual use of it by
> diverse things (rather than a mere handful) just a fundamental
> assumption?

one view of -lcmd is that of a pseudo-directory that provides utilities
with fast startup relative to their physical-directory a.out counterparts

similarly, -lcmd provides utility implementations that will be the same
(modulo native system feature diffs) on all systems and/or will be
present when ksh93 is present

e.g., we were able to do a very small footprint basic (man) section 1 
installation on a unix handheld based on dynamic ksh + dynamic -lcmd
+ stub /bin/xxx all hard-linked to one a.out that called libcmd b_xxx()

it also had the advantage that once ksh+dlls' were running and mapped in,
so were many of the /bin utilities

-- Glenn Fowler -- AT&T Research, Florham Park NJ --


Reply via email to