diffutils
diffutils copied to clipboard
Dropped in replacement of diffutils in Rust
just like the coreutils, we should run the fuzzers in the CI to make sure we don't regress https://github.com/uutils/coreutils/blob/main/.github/workflows/fuzzing.yml as example
in preparation for the future implementation of other binaries (cmp, sdiff and diff3)
Argument parsing in the `diff` command (and in [the WIP `cmp` command](https://github.com/uutils/diffutils/pull/88)) is implemented manually. The rationale for not using a general-purpose parser like [clap](https://docs.rs/clap/latest/clap/index.html) is that it does not...
I am working on the cmp implementation (https://github.com/uutils/diffutils/pull/88) and would like to have --help output something useful, which I think is important for our version to really replace GNU cmp...
To be feasible diffutils replacement, a manpage will need to be installed to allow users to learn how to use the various features and arguments. Similar to diffutils manpage: https://www.man7.org/linux/man-pages/man1/diff.1.html
- Create the function, in the utils package, limited_string that allows you to truncate a string based on a delimiter (May break the encoding of the character where it was...
This change makes the code compile for 32-bit targets (in my case `armv7-unknown-linux-musleabihf`, targeting a 2012 kindle non-touch e-book reader). The failure without it is that some of the string...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `v4` -> `v6` | --- ### Release...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://redirect.github.com/actions/download-artifact) | action | major | `v4` -> `v6` | | [actions/upload-artifact](https://redirect.github.com/actions/upload-artifact) |...
I just had a revelation: ```sh $ time b3sum dreamshaper_8\ \(1\).safetensors dreamshaper_8.safetensors 771c807db56dbfc33feda5638d920f6c507db971da44772ee44a08dc38c3b437 dreamshaper_8 (1).safetensors 771c807db56dbfc33feda5638d920f6c507db971da44772ee44a08dc38c3b437 dreamshaper_8.safetensors real 0m0.172s user 0m2.193s sys 0m0.423s $ time cmp dreamshaper_8\ \(1\).safetensors dreamshaper_8.safetensors real...