On Mon, 28 Jan 2002, Jim Meyering wrote: > Gerhard Heinzel <[EMAIL PROTECTED]> wrote: > > I fail to sort a simple ASCII file > > that contains two columns of numbers > > into proper numerical order (first column) > > with gnu sort version 2.0.10: > > > > Here is what happens with "sort -n": > > -60.6304 -126.723 > > -6.00392 -104.131 > > -59.6326 -126.578 > > Thanks for the report, but I can't reproduce the above problem. > Using sort -n works for me with the latest test release: 2.0.20 > ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.20.tar.gz
Thanks, I have now installed 2.0.20 and it works fine. > Using -d isn't very useful when sorting numbers. > > > Here is what happens with "sort -d": > > -0.05 -0.00784905 My mistake, I meant to use "-g". With best greetings Gerhard -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Gerhard Heinzel e-mail: [EMAIL PROTECTED] Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Inst.) Institut Hannover, Callinstrasse 38, D-30167 Hannover, Germany Tel +49-(0)511-762-2788, Fax +49-(0)511-762-2784 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils