coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Currently, uutils `split` shows "No such file or directory" twice if the specified file doesn't exist. This PR fixes the issue.
GNU dd v9.4.113-c01ee: ``` $ : | dd 2>&-; echo $? 1 ``` uutils dd: ```sh $ : | ./target/debug/dd 2>&-; echo $? 0 ``` This test case appears in...
GNU dd v9.4.113-c01ee: ``` $ : | dd 2> /dev/full; echo $? 1 ``` uutils dd: ```sh $ : | ./target/debug/dd 2> /dev/full; echo $? 101 ``` This test case...
GNU dd: ``` $ : | dd count=KBb dd: invalid number: ‘KBb’ ``` uutils dd: ``` $ : | ./target/debug/dd count=KBb ./target/debug/dd: Unrecognized byte multiplier -> KB ``` This should...
Coreutils `dd` v9.4.113-c01ee: ```shell $ echo abcdefghijklm | ../gnu/src/dd oseek=1Bx2x4 bs=5 > out 2> /dev/null && cat out ^@^@^@^@^@^@^@^@abcdefghijklm ``` (The `^@` are null bytes.) On uutils `dd`: ``` $...
GNU coreutils dd 9.4.113-c01ee ```sh $ : | dd iflag=directory dd: setting flags for 'standard input': Not a directory ``` uutils dd: ```sh $ : | ./target/debug/dd iflag=directory 0+0 records...
For example, Debian has https://packages.debian.org/trixie/amd64/hostname/filelist /usr/bin/dnsdomainname /usr/bin/domainname /usr/bin/hostname /usr/bin/nisdomainname /usr/bin/ypdomainname we already have hostname but not the other However, the other in Debian are just symlinks to hostname. Maybe we...
Replicate - - Run `git clone https://github.com/uutils/coreutils && cd coreutils && cargo test` - Read message returned by `cargo test` Host specs - - Windows 11 64-bit Latest (as of...
GitHub workflow allows to add a Job summary with Markdown format: - https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/ - https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary In GH workflows, tests are runned with `cargo-nextest` tool (instead of `cargo test`). With version...
Should fix tests/cksum/md5sum-bsd.sh