On Sat, 18 Mar 2000, Arun Sharma wrote:
> On Sat, Mar 18, 2000 at 10:16:18PM +0530, Gurunandan R. Bhat wrote:
> > The "sort" utility from the GNU textutils package seems to be
> > behaving differently between SuSe 6.2 and RedHat 6.1:
>
> You didn't post the version numbers of sort.
Ooops. RedHat carries sort distributed with GNU textutils-2.0. I dont have
access to the SuSE 6.2 box at the moment so cant say. But it will probably
be the textutils-1.xx series, going by your findings.
Let me check the changelogs of the textutils package when it moved from
1.x to 2.0 and see what gives. Changing a basic function like sort in so
drastic a manner seems strange.
> On my FreeBSD box, which also has GNU sort, I get the SuSE behavior.
Which I think is the "expected" behaviour. My scripts count on that
happenning
> Perhaps the change in behavior is specific to the sort version ?
In which case, there should be some command line option that reverts to
the older (and I dare say reasonable) behaviour. The later version seems
to believe that '[' comes before [A-Za-z]. Queer.
Thank you for your interest. I would really like to get to the bottom of
this. I do tend to use sort freely.....
Gurunandan
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help