coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Forwarded from https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2115782: ``` $ ll /usr/share/man/man1/test.1.gz lrwxrwxrwx 1 root root 14 Jun 6 18:04 /usr/share/man/man1/test.1.gz -> rust-test.1.gz $ man /usr/share/man/man1/rust-test.1.gz [...] * -b FILE FILE exists and is block...
WASI support
I've made a [fork of coreutils](https://github.com/connor4312/coreutils) that implements provisional support for running most coreutils under WASI. Currently this involves quite a bit of conditional flagging, in large part because Rust...
The uutils version of `od` does not support the `fL` output format specifier. It means "format the output as a floating point number, using `sizeof(long double)` bytes to interpret each...
This pull request refactors the `HardlinkError` enum within the `mv` utility to provide more structured and descriptive error handling to significantly improve diagnostics for developers and end-users. ### Motivation The...
As is observed in https://github.com/nushell/nushell/issues/14778, `uu_cp` seems to have performance issues when dealing with large directories. ```nu > timeit ~/.cargo/bin/coreutils cp cymbol_out/ -r cymbol_out_bak 52sec 95ms 4µs 960ns > timeit...
as found in https://tangled.sh/@rockorager.dev/lsr, uutils ls can have 2x more syscalls that gnu ls (and correspondingly increased runtime. the optimal fix here appears to be using iouring to massively reduce...
Linked to #8355. If that initial test passed, we'd hit this in ` tests/du/bigtime` Steps to repro (might need to use tmpfs for this, e.g. my local ext4 does not...
This is a followup PR to #6595. Regarding the unconditional removal of the destination file problem, before this patch, the destination file is removed unconditionally when `copy_file` is called. Now...
regex engine should match the `.` to the multibyte characters. ``` > expr match 你好a ..a 3 > ./target/debug/coreutils expr match 你好a ..a 7 ```