BSD Ports

sysutils/p5-Number-Bytes-Human 0.11 OpenBSD

convert byte count to human readable format

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
sysutils, perl5

Description

This module provides a formatter which turns byte counts to usual readable format, like '2.0K', '3.1G', '100B'. It was inspired in the -h option of Unix utilities like du, df and ls for "human-readable" output.

In the other systems

SystemPortVersion
OpenBSDsysutils/p5-Number-Bytes-Human0.11
FreeBSDdevel/p5-Number-Bytes-Human0.11_2
NetBSDtextproc/p5-Number-Bytes-Human0.11nb4
DragonFlydevel/p5-Number-Bytes-Human0.11_1
MidnightBSDdevel/p5-Number-Bytes-Human0.11
HardenedBSDdevel/p5-Number-Bytes-Human0.11_2
GhostBSDdevel/p5-Number-Bytes-Human0.11_2

Install

Binary package:

pkg_add p5-Number-Bytes-Human

From the ports tree:

cd /usr/ports/sysutils/p5-Number-Bytes-Human && make install

Dependencies

No port depends on this one.