How I can sort data by size displayed in human readable form?

For example:

I can do ls -1sh | sort -n  but that mixes the 'K' and the 'M's.

I can do ls -1s | sort  -n  but that is not in human readable format.

Thanks,
skyspace.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to