coreutils
coreutils copied to clipboard
Added support for Percentage in buffer-size in sort
Fixes issue https://github.com/uutils/coreutils/issues/3500 by adding support for percentags of total memory for the buffer-size flag. The sysinfo crate is used to determine the total memory of a system.
Made this instead of pr #5519
@sylvestre @tertsdiepraam
@zeroishero did you see that test_buffer_sizes
fails on i686
platforms with an "attempt to multiply with overflow" error?
@cak when I had checked it, it had shown failed only on Android. I will check it.
GNU testsuite comparison:
Congrats! The gnu test tests/ls/block-size is no longer failing!