There is also the AST tool set that merges the SYSV/POSIX and GNU functionality. I believe there is a IPS package in the opensolaris.org repo.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Octave J. Orgeron Solaris Virtualization Architect and Consultant Web: http://unixconsole.blogspot.com E-Mail: unixcons...@yahoo.com *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ----- Original Message ---- From: Richard L. Hamilton <rlha...@smart.net> To: opensolaris-discuss@opensolaris.org Sent: Fri, March 18, 2011 11:12:10 AM Subject: Re: [osol-discuss] sort options > On 03/18/11 08:24 AM, Richard L. Hamilton wrote: > > In other words, if GNU sort has all the > functionality and more, > > then why doesn't it get promoted to the one true > version of "sort"? > > Because no one has had time to finish all the > analysis and standards > testing yet to determine that for all the GNU > commands. That was > always described as part of the long term plan to > resolve the mess > made by the short term implementation of putting > /usr/gnu/bin ahead > of /usr/bin in the OpenSolaris default $PATH. > > For the specific case of sort, the "-y" & "-z" flags, > which Solaris sort > document as obsolete, are the only incompatibilities > I know off hand for > GNU sort. Thanks. And since GNU sort already uses -z for a different purpose (NUL termination rather than newline termination), full compatibility with both (as they are presently defined) is impossible, give or take some hack with an out-of-band means of choosing which behavior (like an environment variable). Not the answer I wanted, esp. since I was only interested in "sort" now, rather than deduplicating _all_ Solaris vs GNU commands. But it's the answer that's there, so it's better than no answer. :-) I suppose the alternative would be adding all non-incompatible GNU functionality to the Solaris version; but that would mean recreating it all from scratch, due to the license incompatibility. Yuck. -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org