logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git

humanize.1 (738B)


  1. .\" Collection of Unix tools, comparable to coreutils
  2. .\" Copyright 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
  4. .Dd 2022-05-08
  5. .Dt HUMANIZE 1
  6. .Os
  7. .Sh NAME
  8. .Nm humanize
  9. .Nd format numbers into human readable form
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl db
  13. .Ar number ...
  14. .Sh DESCRIPTION
  15. Takes each
  16. .Ar number
  17. and format it in a human readable form, one per line.
  18. It supports the following options:
  19. .Bl -tag -width Ds
  20. .It Fl b
  21. Divide by 1024, typically used for bytes.
  22. .It Fl d
  23. Divide by 1000, this is the default but made explicit in case of changes without breaking scripts.
  24. .El
  25. .Sh EXIT STATUS
  26. .Ex -std
  27. .Sh AUTHORS
  28. .An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me