coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Cross-platform Rust rewrite of the GNU coreutils

Results 925 coreutils issues
Sort by recently updated
recently updated
newest added

Looking at seq oss fuzz coverage, I noticed that it wasn't producing much. Writing a fuzz on seq parse number, i noticed that: `cargo run seq 4e4000003 4e4000003` is running...

U - seq
good first issue

see https://github.com/uutils/coreutils/pull/6040#issuecomment-2016746488 the gnu mv: ```plaintext hamflx@hamflx-workstation:~/coreutils/test$ find . -delete && mkdir C D E && touch C/c D/d E/e hamflx@hamflx-workstation:~/coreutils/test$ mv -T --backup=numbered C E/ hamflx@hamflx-workstation:~/coreutils/test$ tree -a ....

We currently fail the GNU test `test/test-diag`, which simply asserts that `test -a arg` outputs the error message `'-a': unary operator expected`. However, this is unfixable with our current parser....

U - test

- [x] `-d`, `--silent` - [ ] `-f`, `--logical` - [ ] `-l`, `--no-pause` - [x] `-c`, `--print-over` - [x] `-p`, `--clean-print` - [x] `-s`, `--squeeze` - [x] `-u`, `--plain`...

U - more

Hi, is it possible to fix [`timeout (uu_timeout)`](https://github.com/uutils/coreutils/tree/main/src/uu/timeout) so that it can also build & work on Windows ? Currently, it fails: ```bash Compiling uu_timeout v0.0.26 (C:\Users\runneradmin\AppData\Local\Temp\toolpacks\toolpacks_jpzxhinoezg_AMD64-Windows_NT\coreutils\src\uu\timeout) error[E0433]: failed to...

P - Windows
U - timeout

running `cargo test --features "df" --no-default-features` on my machine (Fedora 39) fails with: ``` test test_df::test_type_option ... ok test test_df::test_type_option_with_file ... FAILED failures: ---- test_df::test_type_option_with_file stdout ---- run: /home/jadi/w/coreutils/target/debug/coreutils df...

U - df

Discovered during #6176. Example: ```console $ rm -rf target/test/; mkdir target/test/; cp LICENSE "" README.md target/test/; echo "EXITCODE GNU: $?"; ls -l target/test/; echo "(end)" cp: cannot stat '': No...

U - cp

#6165 #6166 ### Output Before: ``` $ cargo run env | grep ZZZ ZZZ=zzz $ cargo run env -u=ZZZ | grep ZZZ (No output because ZZZ was unset) ``` After:...

The empty string is apparently a valid name for an environment variable, even though I strongly expect that it is used only for malicious purposes: ```console $ env =a env...

U - env

This PR implements a feature that is explicitly tested by the GNU tests (`touch/now-owned-by-other`). Sadly, it also reveals how difficult it is to pull off a specific platform-dependent syscall-trick in...