Title: RE: [Fink-beginners] has /sw/bin/sort changed recently?

Thanks for the explanation.

After giving your recommendation a try, I believe the proper equivalent syntax is

    sort -n -k 1,1 | awk '

The " ' " part is part of the remaining script.

Thanks again for the help :-)


-----Original Message-----
From: Martin Costabel [mailto:[EMAIL PROTECTED]]
Sent: Tue 7/18/2006 2:12 PM
To: Abbott, Ben
Cc: [email protected]
Subject: Re: [Fink-beginners] has /sw/bin/sort changed recently?

Abbott, Ben wrote:
[]
> That sounds like an excellent idea. If you can give me the appropriate
> syntax to replace the line below
>
>     sort -n +0 -1 | awk '
>
> I'll do what I can to have Mathworks change it.

That would be

    sort -n -k 1,2 | awk

This has always worked. The alternative non-POSIX "sort +POS1 -POS2" was
dropped from gnu sort a couple of years ago.

--
Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to