coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
```shell hbina@DESKTOP-56FNR1F:~/git/uutils$ RUST_BACKTRACE=full cargo run --quiet -- df thread 'main' panicked at 'attempt to subtract with overflow', src/uu/df/src/table.rs:156:21 stack backtrace: 0: 0x55f2a7c8c0fd - std::backtrace_rs::backtrace::libunwind::trace::h22893a5306c091b4 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x55f2a7c8c0fd - std::backtrace_rs::backtrace::trace_unsynchronized::h29c3bc6f9e91819d...
Related: #554 As part of getting GNU's join tests to pass (#2634), we implemented support for non-Unicode field separators on unix-like platforms (#2902). The reason for not supporting other platforms...
Using GNU, all these commands are failing: ``` #export C=./target/debug/coreutils rm -f xaa in2 in3 seq 10 | tee exp-1 > xaa ln -s xaa in2 ln xaa in3 $C...
``` ---- test_dd::test_final_stats_unspec stdout ---- current_directory_resolved: run: D:\a\coreutils\coreutils\target\debug\coreutils.exe dd ---- test_dd::test_final_stats_unspec stderr ---- thread 'main' panicked at 'Command was expected to succeed. stdout = stderr = 0+0 records in 0+0...
Executive summary: Setup: ``` cargo build -p uu_dd echo 'abcd' > infile ``` GNU dd: ``` $ (dd bs=1 skip=1 count=0 status=none && cat -) < infile bcd ``` uutils...
`info ls` returns: ``` Assume that each tab stop is COLS columns wide. The default is 8. ls uses tabs where possible in the output, for efficiency. If COLS is...
We already support TIME_STYLE as an environment variable but only with the 4 different values. GNU allows the use of +date For example: ``` $ touch exe $ TIME_STYLE="+%Y__%S" ls...
Sometimes fails with (mac only?) Example: https://github.com/uutils/coreutils/runs/6857270607?check_suite_focus=true ``` ---- test_uptime::test_uptime stdout ---- current_directory_resolved: run: /Users/runner/work/coreutils/coreutils/target/x86_64-apple-darwin/debug/coreutils uptime thread 'test_uptime::test_uptime' panicked at 'Command was expected to succeed. stdout = stderr = uptime:...
When running coreutil's `dd status=progress` with `ibs`, `obs`, or `bs` set to a large amount (>=1G), updating progress takes (potentially much) longer than a second. GNU's `dd status=progress` consistently updates...
The latest version of GNU's tests add `tests/misc/cksum`, `tests/misc/cksum-a`, `tests/misc/cksum-c`, and `tests/misc/sm3sum`, all of which currently fail. This will track the respective problems from each.