[Bug 313152] Re: sort support for numeric sort with suffixes
Indeed, so marking Fix Released. @Andrew: thank you for the heads up. @vlovich: I am sorry this bug fell thru a crack -- I should have seen it a long time ago. For the record and for the future, whenever you: * have a patch for coreutils, implementing new options/features or improving it, the best place to discuss it is at the main coreutils mailing list, see http://lists.gnu.org/mailman/listinfo/coreutils. * want to report a bug, or patches for bugs, the correct mailing list is http://lists.gnu.org/mailman/listinfo/bug-coreutils. Again, I am sorry we did not respond to you in a timely way. ** Changed in: coreutils (Ubuntu) Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/313152 Title: sort support for numeric sort with suffixes -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 313152] Re: sort support for numeric sort with suffixes
At least since Maverick (possibly earlier), sort has a -h option seems to do what is asked for here. Can this bug be closed as fix-released? ** Changed in: coreutils (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/313152 Title: sort support for numeric sort with suffixes -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 313152] Re: sort support for numeric sort with suffixes
Further patches conversation is on http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15464 -- sort support for numeric sort with suffixes https://bugs.launchpad.net/bugs/313152 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 313152] Re: sort support for numeric sort with suffixes
** Attachment added: Add ability for sort to handle numbers with human-friendly suffixes http://launchpadlibrarian.net/20857736/sort_human.diff -- sort support for numeric sort with suffixes https://bugs.launchpad.net/bugs/313152 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 313152] Re: sort support for numeric sort with suffixes
Performance improvement. Since -h appears acceptable on the upstream mailing lists, use that instead. ** Attachment added: version 2 of the patch. http://launchpadlibrarian.net/20858710/sort_human_v2.diff -- sort support for numeric sort with suffixes https://bugs.launchpad.net/bugs/313152 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 313152] Re: sort support for numeric sort with suffixes
Handle generic case - no guarantee that size suffix is in upper case. ** Attachment added: version 3 http://launchpadlibrarian.net/20858726/sort_human_v3.diff -- sort support for numeric sort with suffixes https://bugs.launchpad.net/bugs/313152 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs