cc: [email protected] [email protected]
[email protected]
Subject: Re: grep&xargs ready for libcmd?
--------
Can someone explain to me why it matters whether the grep family
is in libcmd rather than in a separate library?
ksh93 can now find load multiple libraries at run time driven
by a file named .paths in the bin directory.
If you put tye file .paths containing the line
BUILTIN_LIB=cmd:grep
LD_LIBRARY_PATH=../lib
/opt/ast/bin, then when /opt/ast/bin is searched both libcmd and libgrep
will be loaded.
The advantage of this is that if one library is flakey it can be
removed without the need to rebuild.
The .paths method also allows different libraries to be placed in
different bin directories so that which built-ins a user sees
depends on what their PATH is.
David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers