coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
I've identified a few issues with the encoding/decoding tools that I'm interested in solving: 1. They are not iterative / streaming. The entirety of the input is read first before...
Builds on top of https://github.com/uutils/coreutils/pull/5680 (so should be merged afterwards). The `windows` crate is a small layer over `windows-sys` that provides a much nicer and Rustier API, so we should...
Running GNU to get the expected result for tests is a _terrible_ idea: - It makes the test only work if GNU is present. - It makes the test only...
Following [PR#5620](https://github.com/uutils/coreutils/pull/5620) `pinky` tool is not supported on OpenBSD, due to the lack of support for utmpx (see https://github.com/uutils/coreutils/issues/5596). => implement `pinky` on OpenBSD with an alternate solution without using...
Following [PR#5620](https://github.com/uutils/coreutils/pull/5620) `uptime` tool is not supported on OpenBSD, due to the lack of support for utmpx (see https://github.com/uutils/coreutils/issues/5596). => implement `uptime` on OpenBSD with an alternate solution without using...
Following [PR#5620](https://github.com/uutils/coreutils/pull/5620) `users` tool is not supported on OpenBSD, due to the lack of support for utmpx (see https://github.com/uutils/coreutils/issues/5596). => implement `users` on OpenBSD with an alternate solution without using...
Following [PR#5620](https://github.com/uutils/coreutils/pull/5620) `who` tool is not supported on OpenBSD, due to the lack of support for utmpx (see https://github.com/uutils/coreutils/issues/5596). => implement `who` on OpenBSD with an alternate solution without using...
**OS: Fedora Linux 39** This is due to `uucore/fsext/MountInfo.mount_dir` being naively interpreted as correct path, while fields in `/proc/self/mountinfo` being space-separated, as result spaces in the field are replaced with...
Proposal from @tertsdiepraam to add CI job for OpenBSD when [issue#5448](https://github.com/uutils/coreutils/issues/5448) (uucore build fails on OpenBSD) will be fixed. - use [vmactions/openbsd-vm](https://github.com/vmactions/openbsd-vm) GitHub action for OpenBSD latest version (7.4) -...
Example: https://github.com/uutils/coreutils/actions/runs/7237755485/job/19717789253?pr=5660 ``` 2023-12-17T10:31:35.9013578Z 2023-12-17T10:31:35.9013834Z ERROR: tests/cp/link-heap 2023-12-17T10:31:35.9180181Z ========================= 2023-12-17T10:31:35.9183294Z 2023-12-17T10:31:35.9185844Z mkdir: d00000000000000000000000001e+01: File exists 2023-12-17T10:31:35.9234949Z mkdir: d00000000000000000000000001e+01: File exists 2023-12-17T10:31:35.9242293Z mkdir: d00000000000000000000000001e+01: File exists 2023-12-17T10:31:35.9311379Z mkdir: d00000000000000000000000001e+01: File exists...