SUMMARY: "sort" in solaris 2.5 different?

From: Marina Daniels (Marina.Daniels@ccd.tas.gov.au)
Date: Mon Sep 09 1996 - 19:36:18 CDT


Thanks very much to all the people who took the time to answer my question.
It turns out that that there's nothing different about sort in solaris 2.5.

I had 4 columns of data supposedly separated by tabs but there was no tab
between column 1 and 2, only a space. I didn't notice there was anything wrong
with the script until after i was testing it just after the upgrade so I jumped
to the wrong conclusion. :-(

Thanks again, sorry for wasting your time.
Marina

*** ORIGINAL QUESTION &&&&&

> Has anybody noticed that sort works differently in solaris 2.5?
>
> I had a line in a script
>
> /bin/sort -t"\t" +2 -3 +3 -4 -r $ACCOUNTLOG
>
> which I had to change to
>
> /bin/sort +2 -3 +3 -4 -r $ACCOUNTLOG.
>
> It's supposed to sort on the 3rd field, then on the second field but while the
> '-t' option was in there it appeared to be sorting on the first field only?
>
> It worked ok in Solaris 2.3.
> Does anyone know what the problem is?
> I didn't install the man pages for Solaris 2.5
>
> Marina



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:09 CDT