[Bug 313152] Re: sort support for numeric sort with suffixes

2009-01-05 Thread vlovich
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

2009-01-02 Thread vlovich
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


[Bug 313152] Re: sort support for numeric sort with suffixes

2009-01-02 Thread vlovich
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

2009-01-02 Thread vlovich

** 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] [NEW] sort support for numeric sort with suffixes

2009-01-02 Thread vlovich
Public bug reported:

Binary package hint: coreutils

It would be nice if sort supported an option so that it would be
possible to sort the output of the du & df commands when the -h flag is
supplied, without having to resort to complicated piping.

Ideally, du -hs * | sort -h would provide the expected intuitive result.

My patch however uses -H as the option instead cause I'm not sure what
the policy on using -h is since it tends to be a synonym for help.  I
believe the only reason that du & df have it is for legacy reasons.
However, it's a trivial change if -h is acceptable and would make it
more consistent with du & df.

The wording of the documentation in the help printout could also use a
little bit of work.

Also, the helper functions I added in strnumcmp could probably me moved
into sort.c so that they don't affect the size of all the other
utlilities using it, unless they're useful elsewhere (or can be removed
because it's already implemented in one of the other files).

** Affects: coreutils (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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 276791] Re: Powertop reports a USB device is active 100% of the time.

2008-10-31 Thread vlovich
I have the same problem.  It was because for some reason my laptops SD
card reader wouldn't turn off.  Removing usb_storage fixed it, but now
obviously I don't have access to the sd card.

-- 
Powertop reports a USB device is active 100% of the time.
https://bugs.launchpad.net/bugs/276791
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