logo

utils-extra

Collection of extra tools for Unixes git clone https://anongit.hacktivis.me/git/utils-extra.git/

humanize.1 (775B)


  1. .\" utils-extra: Collection of extra tools for Unixes
  2. .\" Copyright 2017-2023 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2023-06-05
  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 dbt
  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. .It Fl t
  25. .Ar number
  26. represents time duration in seconds.
  27. .El
  28. .Sh EXIT STATUS
  29. .Ex -std
  30. .Sh AUTHORS
  31. .An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me