in reply to file size representation
Or perhaps always rounding up, so that we never show a small file as "0K", which seems intuitively to mean an "empty file" for me:my $k_size = sprintf "%.0fK", $size / 1024;
my $k_size = sprintf "%dK", ($size + 1023) / 1024;
-- Randal L. Schwartz, Perl hacker
|
|---|