-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

numfmt


> Convert numbers to and from human-readable strings.

More information.


Convert 1.5K (SI Units) to 1500:

numfmt --from={si} {1.5K}

Convert 5th field (1-indexed) to IEC Units without converting header:

ls -l | numfmt --header={1} --field={5} --to={iec}

Convert to IEC units, pad with 5 characters, left aligned:

du -s * | numfmt --to={iec} --format="{%-5f}"


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Fri May 17 16:30:44 2024