coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
``` ---- test_sort::test_month_stable stdout ---- current_directory_resolved: run: D:\a\coreutils\coreutils\target\debug\coreutils.exe sort month_stable.txt -Ms ---- test_sort::test_month_stable stderr ---- thread 'main' panicked at 'Command was expected to succeed. stdout = N/A Ut enim ad...
Some utils have long strings that are passed to the "long help" section of Clap (or "after help"). Take for instance this bit from `test`: ```rust const USAGE: &str =...
This PR removes the `_event_counter` var. This variable is increased but never read. It also renames the `_timeout_counter` var to `timeout_counter`, because the `_` at the beginning indicates the var...
Attempting to use `%#z` with chrono gets a panic: https://github.com/chronotope/chrono/blob/378efb157d674c01761f538d4450705c2b1766a4/src/format/mod.rs#L683 This catches the format string and returns an error instead.
as asked in issue #2617 i couldn't find a way to get clap to parse them, so at the moment i remove them from the command line before feeding them...
I'm not sure if the failures are related, so I'm posting both errors here. The above tests fail on my linux machine with ``` ---- test_test::test_file_is_newer_than_and_older_than_itself stdout ---- current_directory_resolved: run:...
First, this pull request creates a `Source` enum and simplifies the `Input` struct in `dd`, mirroring pull request #4134 that introduced the `Dest` enum and a simplified `Output` struct. Second,...
util/run-gnu-test.sh is killing my ssh connection on Ubuntu 22.04. Perhaps default to run it in the background and have a log file to tail? Ideas welcome. I have also noticed...
mktemp requires three 'X' in the pattern argument. In the case where the XXX is missing and the tmpdir option is provided, the uutils-coreutils mktemp error message is a bit...
Similar to #2507. The `-f ` option to `uniq` has a deprecated syntax, `-`. See https://www.gnu.org/software/coreutils/manual/html_node/uniq-invocation.html For example, ``` $ printf "a a\nb a\n" | uniq -1 a a ```