Dennis Clarke <[email protected]> wrote:

> > So a /usr/gnu/bin will be needed, even if the number of such conflicts
> > is very low.
>
> All things being equal one would be stuck using argv[0] to determine if
> /usr/gnu/bin/ls was called.
...

star is an example for how different CLIs can be implemented in a single 
program. Star implements the superset of the features in 

SUSv2 tar
Sun tar 
GNU tar
cpio
pax

and in addition features that are not found in any of the above. There are
5 different CLI/option parsing functions and there is central code to support 
all the features.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to