coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
This PR ignores duplicate paths provided by the user and so `du a a a` has the same output as `du a`. However, if the path doesn't exist, multiple error...
GNU `du` lists hard links when running `du --inodes --all --count-links` whereas uutils `du` doesn't. This PR fixes it.
Currently, `expr` uses only string values internally. This means that for an expression like `1 + 2 + 9` is evaluated as follows: 1. Get the strings `"1"` and `"2"`...
With https://github.com/uutils/coreutils/pull/5586 merged, we can there are a few issues leftover. Here's an interesting one: ``` > expr '(' 1 / 0 expr: division by zero ``` In uutils `expr`,...
The `crash!` macro is a leftover from old error handling in this project. We should always use `UError` and `show!` now. Here are all uses of `crash!`: https://github.com/search?q=repo%3Auutils%2Fcoreutils%20crash!&type=code We can...
Hi, Two main issues occur when renaming files/directories on macOS. Platform: macOS mv version: 0.0.22 ## rename_directory ``` mkdir somedir touch somedir/somefile.txt ``` ``` > uutils mv somedir Somedir #...
With the test case, it show `b` - with gnu, it shows `bde`: ``` export C=./target/debug/coreutils echo abcde > in echo "bde" > ref ($C dd skip=1 count=1 bs=1; $C...
can it can be seen here: https://github.com/uutils/coreutils/issues/5311 the backtrace doesn't contain any debug information Seems that we should build in debug mode in the CI: "fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_date+0xc03481" Probably this line: https://github.com/uutils/coreutils/blob/main/.github/workflows/fuzzing.yml#L29
OSS-Fuzz has found a bug in this project. Please see https://oss-fuzz.com/testcase?key=5339499714183168 for details and reproducers. This issue is mirrored from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64502 and will auto-close if the status changes there. If...
It seems like GNOME does not work properly on uutils. I think this might be related to a bug somewhere? # System Details Report --- ## Report details - **Date...