coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Context: while trying to implement a regression-test for https://github.com/uutils/coreutils/issues/6591 I noticed that testing stdbuf with some GNU coreutils utilities work, but fails with uutils coreutils utilities. - `stdbuf -o` works...
This PR attempts to move `uptime` from `feat_require_unix_utmpx` to `feat_common_core` in `Cargo.toml` based on feedback to https://github.com/uutils/coreutils/pull/7250
After encountering an error in `do_pass`, our implementation continues, and tries *again* to overwrite the file: ```console $ cargo build && LC_ALL=C fiu-run -x -c "enable_random name=posix/io/rw/write,probability=0.01" cargo run shred...
This only applies when `mv`-ing directories across different filesystems. According to [this StackOverflow post](https://superuser.com/questions/259097/what-happens-if-mv-is-interrupted), in particular `user263131`'s command, if I run (coreutils) `mv /mnt/fs1/foo /mnt/fs2/` and I interrupt before the...
It was noted in the latest [Ubuntu post](https://discourse.ubuntu.com/t/migration-to-rust-coreutils-in-25-10/59708) that they were having problems with AppArmor profiles on the multicall binary, and listed a possible solution of > Build coreutils into...
closes #7906 exact GNU behavior is as follows (the issue wasn't very clear): if an IO error is encountered (I tested with file not found and permission denied), the binary...
This PR do - fix https://github.com/uutils/coreutils/issues/5094 - cleaner help for `coreutils` bin (why not using clap ?)  ``` coreutils 0.0.30 (multi-call binary) Usage: coreutils [function [arguments...]] coreutils --list Functions:...
At present, the `cat` command unexpectedly prints an error message when it receives a broken pipe error. As an example, there are many workflows that make use of `cat` and...
Closes #7851 Changes the `i64` based uptime returned by uucore's `get_uptime` into an `std::time::Duration` and updates callsites. - [x] `get_uptime` modified to accept fractional seconds from `/proc/uptime` and return `Duration`...
Should fix tests/ls/selinux.sh