humanize.1 (775B)
- .\" utils-extra: Collection of extra tools for Unixes
- .\" Copyright 2017-2023 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2023-06-05
- .Dt HUMANIZE 1
- .Os
- .Sh NAME
- .Nm humanize
- .Nd format numbers into human readable form
- .Sh SYNOPSIS
- .Nm
- .Op Fl dbt
- .Ar number ...
- .Sh DESCRIPTION
- Takes each
- .Ar number
- and format it in a human readable form, one per line.
- It supports the following options:
- .Bl -tag -width Ds
- .It Fl b
- Divide by 1024, typically used for bytes.
- .It Fl d
- Divide by 1000, this is the default but made explicit in case of changes without breaking scripts.
- .It Fl t
- .Ar number
- represents time duration in seconds.
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me