coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
- simplified target type checking by removing `TargetType::determine()` - added tests for targets with trailing slashes
We are using a bunch of things which are now deprecated. https://epage.github.io/blog/2022/06/clap-32-last-call-before-40/ For example: ``` warning: use of deprecated associated function `clap::ArgMatches::value_of`: Replaced with `ArgMatches::get_one()` --> src/bin/coreutils.rs:156:25 | 156 |...
Bumps [retain_mut](https://github.com/upsuper/retain_mut) from 0.1.7 to 0.1.9. Commits See full diff in compare view [](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...
Show an error if the user provides a delimiter list ending with an unescaped backslash. For example, `paste -d'\'` will now show an error whereas `paste -d'\\'` will work fine....
`nice -19 echo "hello"` will run just fine with the GNU core utils but will throw an error *"Found argument '-1' which wasn't expected, or isn't valid in this context"*...
If only one source is specified, cp should raise an error when target directory specified with trailing / does not exist. Instead it currently creates a file, as if specified...
The ls tests dislike [llvm source based code coverage](https://doc.rust-lang.org/beta/unstable-book/compiler-flags/source-based-code-coverage.html). The CI is currently using the grcov crate? It would be nice if default environment variables were given in comments. https://github.com/uutils/coreutils/blob/a017c1b5890efd3b35bdcfc579b0df546cabf4c9/.github/workflows/CICD.yml#L621...
~*Help wanted!* This change was previously merged in pull request #3205. Unfortunately, it resulted in an issue with the GNU test suite; see issue #3268. The change was subsequently reverted...
x86_64, Win 10 Pro v 10.0.19042 Build 19042, , commit 5935876f38 , nightly-x86_64-pc-windows-msvc unchanged - rustc 1.52.0-nightly (3e826bb11 2021-02-21) ```bash ---- test_ls::test_ls_human stdout ---- current_directory_resolved: run: truncate -s +1000 test_human...
Experimental implementation of https://github.com/uutils/coreutils/issues/2816 I wanted to test my idea from https://github.com/uutils/coreutils/issues/2816 and gather some feedback on it, so here we are :) The macro reads the `help.md` file at...