This is a tool I’m working on that works like the non-POSIX -h option in GNU ls(1):
-h, --human-readable
with -l and -s, print sizes like 1K 234M 2G etc.
This tool will take a number into stdin and output the number truncated to the highest possible unit.
This is a tool I’m working on that works like the non-POSIX `-h` option in GNU `ls(1)`:
```
-h, --human-readable
with -l and -s, print sizes like 1K 234M 2G etc.
```
This tool will take a number into stdin and output the number truncated to the highest possible unit.
I'd like an option to set the maximum unit to use. Maybe the minimum too.
I feel like that’s outside the scope of this program. It’s not a general-purpose unit converter but a human-readable unit presenter. I’ve opened #53 for a program like that.
> I'd like an option to set the maximum unit to use. Maybe the minimum too.
I feel like that’s outside the scope of this program. It’s not a general-purpose unit converter but a human-readable unit *presenter*. I’ve opened #53 for a program like that.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is a tool I’m working on that works like the non-POSIX
-hoption in GNUls(1):This tool will take a number into stdin and output the number truncated to the highest possible unit.
I'd like an option to set the maximum unit to use. Maybe the minimum too.
I feel like that’s outside the scope of this program. It’s not a general-purpose unit converter but a human-readable unit presenter. I’ve opened #53 for a program like that.