Commit Graph
19809 Commits
Author SHA1 Message Date
oech3 a0d8ffe168 (un)expand: set default of FILE by clap 2026-06-27 16:44:53 +02:00
oech3andDevel08 4bc3b683d8 split: extract proper errno from OS (#13112)
Co-authored-by: Devel08 <Denislav@member.fsf.org>
2026-06-27 16:31:41 +02:00
Daniel Hofstetter e12eb4c7a9 kill: move Ok(()) outside of match (#13129) 2026-06-27 16:31:03 +02:00
Daniel Hofstetter 8ea640a621 shred: remove unnecessary Option from fn signature 2026-06-27 16:29:08 +02:00
Daniel Hofstetter 95a0b562f9 shred: remove fn that simply delegates to other fn 2026-06-27 16:29:08 +02:00
Daniel Hofstetter d9a68e7d2b sort: ignore --parallel on WASI (#13028) 2026-06-27 16:28:43 +02:00
Daniel Hofstetter f918c4c889 Bump phf & phf_codegen from 0.13.1 to 0.14.0 (#13048) 2026-06-27 16:28:28 +02:00
Daniel Hofstetter 3ad5270241 split: remove condition by moving reset (#13062)
from the bottom to the top of handle_preceding_options()
2026-06-27 16:28:19 +02:00
Daniel Hofstetter 8dfb6d219e split: add platform/wasi.rs (#13076) 2026-06-27 16:28:06 +02:00
Daniel Hofstetter bc24d39276 pr: use match instead of if/else chain (#13004) 2026-06-27 16:27:14 +02:00
Sylvestre Ledru 560f75bb28 kill: reject out-of-range obsolete -N signal instead of sending SIGTERM
An out-of-range -N signal (e.g. -65) fell through handle_obsolete and was
kept by clap as a negative pid, signalling the remaining pids with the
default SIGTERM. Reject it up front like GNU (invalid signal, exit 1).

GHSA-3jmh-xh36-pj6v
2026-06-27 15:19:34 +02:00
oech3 4c35af0354 tail: fix a collapsible_if (#13107) 2026-06-27 13:36:39 +02:00
Sylvestre Ledru 1ac29e7037 Use Option::ok_or with ? instead of let...else returning Err (#13102)
Rewrite `let Some(x) = opt else { return Err(e); }` patterns as
`let x = opt.ok_or(e)?` (or `ok_or_else` when the error value is
non-trivial, to preserve the lazy evaluation of the else branch).

Applied across uucore (checksum, format, num_parser) and the nl,
truncate, sort and env utilities.
2026-06-27 13:35:55 +02:00
oech3 75a1c3e805 split: remove unused clippy:: (#13101) 2026-06-27 13:35:28 +02:00
Sylvestre Ledru 9404167781 we have a domain name now 2026-06-27 13:33:02 +02:00
oech3 3c81e39095 split: replace match by map_err 2026-06-27 11:21:49 +02:00
renovate[bot] 087ab89d1f chore(deps): update rust crate divan to v5.0.1 2026-06-27 10:52:16 +02:00
oech3 697df9832f split: reduce strong BufRead dependency 2026-06-26 17:05:06 +02:00
Eyüp Can Akman ad25815aa6 uptime: fix leading zero in the hours field 2026-06-26 16:37:01 +02:00
oech3 53660feb07 split: remove dummy std::io::Cursor allocation 2026-06-26 15:22:25 +02:00
oech3 1f6594b336 split: simplify match bool (#13067) 2026-06-26 15:07:13 +02:00
oech3 aed3f6777c split: replace OPT_ by options:: 2026-06-26 10:43:53 +02:00
oech3 3aa3b900fa split: remove Box<dyn Write> 2026-06-26 10:10:40 +02:00
oech3 634202174c split: simplify parsing io-blksize 2026-06-26 09:36:53 +02:00
renovate[bot] f885f254fc chore(deps): update rust crate bstr to v1.12.3 2026-06-25 17:12:22 +02:00