coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Follow up of https://github.com/uutils/coreutils/issues/3733 ``` 2022-08-05T06:49:49.6230420Z failures: 2022-08-05T06:49:49.6230820Z 2022-08-05T06:49:49.6409200Z ---- test_cp::test_copy_through_dangling_symlink_no_dereference_permissions stdout ---- 2022-08-05T06:49:49.6409810Z current_directory_resolved: 2022-08-05T06:49:49.6410590Z symlink: /tmp/.tmpXoQlGW/no-such-file,/tmp/.tmpXoQlGW/dangle 2022-08-05T06:49:49.6411320Z run: /Users/runner/work/coreutils/coreutils/target/debug/coreutils cp -P -p dangle d2 2022-08-05T06:49:49.6412000Z thread 'test_cp::test_copy_through_dangling_symlink_no_dereference_permissions' panicked...
upstream issue from 2015 https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1421760 these work as expected ... ``` $ ./coreutils/target/debug/env python >>> print("hello") hello ``` ``` $ ./coreutils/target/debug/env A=1 python >>> import os; print(os.environ["A"]) 1 ``` ```py...
Probably related to #2925 So, Rust's `print!`, `println!`, `std::io::stdout().write`, etc. don't fail when fd 1 is closed. This is because of [RFC 1014](https://github.com/rust-lang/rfcs/blob/master/text/1014-stdout-existential-crisis.md). GNU version utils fail with `Bad file...
makes `date` output identical to `date` from the gnu core utils on Linux (as far as I tested). output on windows and mac is still not identical redox not tested...
It fixes a test including `dd` from `tests/misc/head-c.sh`. Corresponding issue: https://github.com/uutils/coreutils/issues/3008# I expected that `tests/dd/not-rewound.sh` would also be fixed, but unfortunately, it is not the case. It seems that https://github.com/uutils/coreutils/issues/3626...
`date` behaves differently than coreutils when no argument is passed, if the goal of the project is to behave a 100% like the gnu coreutils, this should be fixed. here...
In `true` and `false`, we override clap's default help and version arguments. With clap 3.2, this can probably be simplified by using `clap::ArgAction::{Help, Version}`.
Bumps redox_syscall from 0.2.15 to 0.3.0. [](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...
Bumps [time](https://github.com/time-rs/time) from 0.3.9 to 0.3.11. Release notes Sourced from time's releases. v0.3.11 See the changelog for details. v0.3.10 See the changelog for details. Changelog Sourced from time's changelog. 0.3.11...
Difference in behavior from GNU `dircolors`: ``` $ echo 'TERM [^a]bc\n.term_matching 00;38;5;61' | TERM=abc dircolors -b - zsh: can't find terminal definition for abc LS_COLORS=''; export LS_COLORS $ echo 'TERM...