Have you tried printf?
man printf will have the details.

On Tue, September 27, 2005 4:52 pm, Brad Bendily wrote:
> Does anyone know of a command line tool that will
> convert a number into human readable format?
>
> ie:
> 141184412
> equals
>
> 141184KB
> 141MB
> .14GB
>
>
> these numbers are in a log file. I just want to
> be able to glance at the file and see the sizes without
> having to think so hard about it and try to count
> 3 digits from right to left.
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net
>


-- 
Scott Harney<[EMAIL PROTECTED]>
"Asking the wrong questions is the leading cause of wrong answers"
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5

Reply via email to