bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort -m fails to merge >2 files


From: Eric Blake
Subject: Re: sort -m fails to merge >2 files
Date: Mon, 30 Jul 2007 20:57:27 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 Thunderbird/2.0.0.5 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stephen Quan on 7/30/2007 7:22 PM:
> sort -m fails for files greater than two (2)

Thanks for the report.  However,

>  
> 8
> 10

since this was not sorted...

> 10
> 9  <-------------------------------------------------------- out of sequence

..sort behaved exactly as documented:

  -m, --merge               merge already sorted files; do not sort

Perhaps you meant 'sort -m -n 1 2 3' for merging a numeric sort?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrqUX84KuGfSFAYARAjYRAJ4xfbywBxeSH+kg0Jqu0xxfMBa52ACdEGOA
XfYCmP0d0UhEoUVWLR7R1rM=
=0RNJ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]