coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Bumps redox_syscall from 0.2.16 to 0.3.4. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
``` #export C=./target/debug/coreutils rm -rf dir1 no-dir2 file=file echo foo > $file mkdir dir1 touch dir1/file1 $C install -D "$PWD/dir1/file1" $file -t "$PWD/no-dir2/" ``` With GNU, it works without issue....
GNU's coreutils project has rejected this feature since day 1, see: https://lists.gnu.org/archive/html/coreutils/2015-09/msg00008.html . There's a [crafty patch written for it](https://github.com/mrdrogdrog/advcpmv) but today it failed me when I copied a directory...
Seems to be a recent regression ``` ---- test_cp::test_closes_file_descriptors stdout ---- current_directory_resolved: run: /home/runner/work/coreutils/coreutils/target/debug/coreutils cp -r --reflink=auto dir_with_10_files/ dir_with_10_files_new/ thread 'test_cp::test_closes_file_descriptors' panicked at 'Command was expected to succeed. stdout =...
`uu-du` reports little to no disk usage for hard links, but double (triple or more) counts disk used by reflinks. Would be nice if reflinks were counted only once.
When input comes from a pipe or fifo on windows and android platforms there is no output and no processing of that input, at all. This is part of the...
We should start fuzzing to find security vulnerabilities at some point. It may be easier to do this after #1124 is done.
`cargo test` currently fails on my Debian and my Ubuntu 21.04 machine, both of which have timezone GMT (UTC+0). ``` ---- test_du::test_du_time stdout ---- current_directory_resolved: run: //src/coreutils/target/debug/coreutils touch -a -t...
From the GNU manual: ``` ‘-F DEVICE’ ‘--file=DEVICE’ Set the line opened by the file name specified in DEVICE instead of the tty line connected to standard input. This option...
From the GNU manual: ``` ‘-g’ ‘--save’ Print all current settings in a form that can be used as an argument to another ‘stty’ command to restore the current settings....