coreutils
coreutils copied to clipboard
Cross-platform Rust rewrite of the GNU coreutils
Setup: ```shell $ touch a $ touch \"b $ touch c ``` GNU's ls sorts the files ignoring the leading `"`: ```shell $ ls a '"b' c ``` uutils' ls...
I didn't find an issue tracking this, so I'm creating one for tracking purpose. As noted in https://github.com/uutils/coreutils/blob/6bcf4e2cece5815eb7352e74f64af14b13ad5a4f/src/uu/mkdir/src/mkdir.rs#L84 , the option "-Z" / "--context" of mkdir is not yet implemented....
The following will work: ``` $ cp /proc/version copy $ ./target/debug/coreutils head -c -1 copy Linux version 6.5.0-4-amd64 ([email protected]) (gcc-13 (Debian 13.2.0-6) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41)...
Addresses #3906: On copy-on-write filesystems it is possible to copy files without really copying the contents. The contents are copied when modified. This pullrequests introduces a new feature for "du...
https://github.com/uutils/coreutils/issues/5186 See linked issue for details
This commit addresses [#3505](https://github.com/uutils/coreutils/issues/3505). I added a `parse_date_modification.rs` module to `uucore::parser` and used it in `touch.rs`. I added tests to `touch.rs` to prove the parser works and is not buggy....
This PR bumps `redox_syscall` from `0.3.5` & `0.4.0` to `0.4.1`, `filetime` from `0.2.22` to `0.2.23`, and `parking_lot_core` from `0.9.8` to `0.9.9`.
When trying to copy a file to a non-existing directory, uutils `cp` currently shows the following error: ``` $ cargo run cp a.txt no-such/ cp: 'a.txt' -> 'no-such/': Is a...
fulfill #5203 ```bash ❯ cargo tree uu_cp v0.0.21 (/home/arch/code/tommady/coreutils/src/uu/cp) ├── clap v4.4.2 │ └── clap_builder v4.4.2 │ ├── anstream v0.5.0 │ │ ├── anstyle v1.0.0 │ │ ├── anstyle-parse v0.2.0...