coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
I noticed that when you pipe output and close it early (like `seq inf | head -n 1`), many utilities panic with error messages instead of exiting silently like GNU...
Going through the coverlay of ln to see where we are missing coverage and found a few edge cases that I was looking to cover with tests. It was interesting...
~`conifgure` is too long. I want to DL "non-patched" prebuilt GNU coreutils for faster CI.~
Hotfix for CI #9437 #9628 #9629 #9587 Fixes `test_retry6` failure by skipping file watcher events for untracked files in `--follow=descriptor` mode. When using `tail -f` without `--retry`, missing files that...
We've started to notice some parsing errors on Ubuntu with some specific date and timezone combinations. Those combinations do work against gnu coreutils. e.g. ``` # This one doesn't work:...
Fixes `test_from_line_option` race condition by increasing delay from 100ms to 500ms, allowing `more` to fully render output before test reads PTY. Fixes noise #9587 https://github.com/uutils/coreutils/actions/runs/20107767279/job/57697301129?pr=9587
This PR adds proper flag reset logic to the `sync` utility to align with GNU coreutils implementation. Changes - Reset `O_NONBLOCK` flag before calling `syncfs()` and `fdatasync()` - Added necessary...
Discovered when automating the stty test discovery on the github CI that the reason this test was failing was because it required to be run with an interactive tty, the...
This is a bit of a bigger PR but the original goal was to try and add the support of always setting the umask of the output file and when...
Currently, we output the number separator as a lossy string: ``` $ printf "a\nb" | cargo run -q nl --number-separator=$'\xFF' | hexdump -C 00000000 20 20 20 20 20 31...