coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
This is a GNU behavior bug (i.e. this is a bug because GNU behaves differently, even though uutils' current behavior could be considered reasonable, too). Example: ```console $ echo -n...
Example: ```console $ chmod -c --reference README.md README.md # GNU $ cargo run --all-features chmod -c --reference README.md README.md mode of 'README.md' changed from 0644 (rw-r--r--) to 100644 (rw-r--r--) $...
This was a GNU behavior bug: ```console $ LC_ALL=C shuf -er shuf: no lines to repeat [$? = 1] $ cargo run shuf -er # old, bad (unexpected success) $...
This should lower memory consumption, and fixes OOM in some scenarios. Before, buggy behavior: ```console $ yes | tr -ds a b | head -n5 # GNU y y y...
Feature Request related to #6002 It may be helpful to some users for mv to be able to maintain attributes like timestamps when moving files to/from internal/external drives, or really...
It seems that I accidentally introduced an off-by-one error in #5980. My bad! This PR: - Fixes the off-by-one error by using the standard type `RangeInclusive`, instead of passing `(usize,...
This should fix #5974
This PR fixes several issues: - Basic functionality of `basenc` was not tested – it already works, yes, but let's make sure it doesn't regress. - `basenc` should not decide...
addresses issue #3565 Problem is that `fs::copy` fails when at the destination an invalid symbolic link exists. I guess it tries to write to the file which the existing destination...
addresses issue #5421 EDIT: I tested it on my own phone. I compiled and run the tests on my phone. The tests are green now.