coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
This PR is related to https://github.com/uutils/coreutils/issues/5487. It removes the crash! macro from fmt and unexpand.
For context see: https://github.com/uutils/coreutils/issues/4414 `cksum` is lagging behind `hashsum` and needs to be updated. One way to do with would be to share functions between the two, but I didn't...
add support for removing inaccessible/unreadable empty directories on unix platforms I had to refactor `handle_dir` because it was becoming unreadable and it fixed other GNU tests where we previously had...
Part of https://github.com/nushell/nushell/issues/10447#issuecomment-1741883171 This path makes an iterator interface for `rm`. The iterator is the `Remover` type, which yields an `UResult` for every file. `nushell` can choose to how to...
add windows version of copy_on_write for cp command This is implemented using DeviceIoControl FSCTL_DUPLICATE_EXTENTS_TO_FILE, and thus only works on ReFS (and possibly winbtrfs, I'm not sure). While it should be...
Fixes issue https://github.com/uutils/coreutils/issues/3500 by adding support for percentags of total memory for the buffer-size flag. The sysinfo crate is used to determine the total memory of a system. Made this...
This pr introduces caching of the complete `gnu` directory (compressed around 50MB) to speed up the build and test steps in case of a cache hit in all jobs of...
## Fixes [GNU test color-term.sh](https://github.com/coreutils/coreutils/blob/master/tests/ls/color-term.sh) for LS (kind of) ### Explaination `ls --color=always` should honor the environment variables LS_COLOR and COLORTERM, if they are not set or empty it should...
According to GNU: ``` -b, --base64 emit base64-encoded digests, not hexadecimal ``` Tested in GNU with tests/cksum/cksum-a.sh Source: https://github.com/uutils/coreutils/blob/main/src/uu/cksum/src/cksum.rs