Hey suckless folks, while reading the code for df.c, I realised it uses a specialised function to print human-readable output, print_human(). It mostly replicates the code of libutils human.c, not yet present in ubase. Here is a patch that replaces print_human() with calls to humansize().
Also, why does postfixes[0] in humansize() result 'B' but that is never used? Greetings, pranomostro
use_humansize.patch
Description: Binary data
