Commit graph

11378 commits

Author SHA1 Message Date
Terts Diepraam
9a67393c44 factor: short circuit on write error, but not on parse error 2023-08-30 18:51:29 +02:00
zhitkoff
b2ebe6a1d1 build-gnu.sh: target GNU release v9.4 2023-08-30 11:15:11 -04:00
Yury Zhytkou
009ed90cd3
Merge branch 'main' into zhitkoff/issue5193 2023-08-30 11:12:04 -04:00
Daniel Hofstetter
67977f4a0e
Merge pull request #5221 from sylvestre/gnu-9.4
upgrade to GNU/coreutils 9.4
2023-08-30 11:36:22 +02:00
Daniel Hofstetter
fa627a972b
Merge pull request #5223 from uutils/renovate/davidanson-markdownlint-cli2-action-12.x
chore(deps): update davidanson/markdownlint-cli2-action action to v12
2023-08-30 10:49:21 +02:00
Sylvestre Ledru
3e953779ae
Update util/build-gnu.sh
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-08-30 10:30:36 +02:00
renovate[bot]
ef564d2cd1
chore(deps): update davidanson/markdownlint-cli2-action action to v12 2023-08-30 07:46:54 +00:00
Sylvestre Ledru
cf91a1cc95 Adjust the paths to the path after the 9.4 release 2023-08-29 22:45:38 +02:00
zhitkoff
7f905a3b8d split: edge case for obs lines within combined shorts + test 2023-08-29 16:35:00 -04:00
Terts Diepraam
1ad10dd371 echo: add support for \NNN octal escape sequence 2023-08-29 21:54:19 +02:00
zhitkoff
15c7170d20 split: fix for GNU Tests regression + tests 2023-08-29 15:49:47 -04:00
zhitkoff
e79753c1cf split: refactor handle_obsolete() function 2023-08-29 13:58:26 -04:00
Sylvestre Ledru
837e0681af upgrade to GNU/coreutils 9.4 2023-08-29 19:29:35 +02:00
Daniel Hofstetter
6752618cd1
Merge pull request #5220 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.27
2023-08-29 17:56:26 +02:00
renovate[bot]
0aeed93100
chore(deps): update rust crate chrono to ^0.4.27 2023-08-29 14:51:18 +00:00
Daniel Hofstetter
9c482e5032
Merge pull request #5219 from tertsdiepraam/sum-tag-no-quotes
`hashsum`: change debug to display format with --tag
2023-08-29 11:05:57 +02:00
Terts Diepraam
93a54f36f3 hashsum: change debug to display format with --tag 2023-08-29 10:15:38 +02:00
zhitkoff
2f35989ac3 split: comments 2023-08-28 18:26:48 -04:00
zhitkoff
fa8d18b826 split: refactor obsolete lines 2023-08-28 18:24:21 -04:00
Terts Diepraam
4623575a66 echo: fix wrapping behavior of octal sequences 2023-08-28 23:21:39 +02:00
Sylvestre Ledru
bd82d678ef
Merge pull request #5215 from tertsdiepraam/fix-oranda-changelog
website: fix changelog config
2023-08-28 05:47:06 -04:00
Terts Diepraam
71c4d9f407 website: fix changelog config 2023-08-28 10:36:01 +02:00
Yury Zhytkou
1eae064e5c
split: better handle numeric and hex suffixes, short and long, with and without values (#5198)
* split: better handle numeric and hex suffixes, short and long, with and without values
Fixes #5171

* refactoring with overrides_with_all() in args definitions

* fixed comments

* updated help on suffixes to match GNU

* comments

* refactor to remove value_parser()

* split: refactor suffix processing + updated tests

* split: minor formatting
2023-08-28 10:09:52 +02:00
Daniel Hofstetter
e4ea64af5c
Merge pull request #5211 from tertsdiepraam/nushell-expose-uucore-args
`cp`: re-export `uucore::{BackupMode, UpdateMode}`
2023-08-28 07:29:49 +02:00
Terts Diepraam
ab859f4efa cp: re-export uucore::{BackupMode, UpdateMode}
This allows other projects to construct values for these types
which in turn allows them to construct Options.

This is implemented at the request of nushell
2023-08-28 00:19:10 +02:00
Daniel Hofstetter
1f081f3716
Merge pull request #5208 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.9.4
2023-08-27 11:19:01 +02:00
zhitkoff
0edba89b55 split: comments 2023-08-26 13:53:36 -04:00
zhitkoff
a384973b1a split: remove dup for /usr/local/bin when executed several times 2023-08-26 13:51:21 -04:00
zhitkoff
4a4759c43c split: updated to SYSTEM_TIMEOUT in a few more places 2023-08-26 13:44:34 -04:00
zhitkoff
eac08f72c2 split: double quotes 2023-08-26 13:24:08 -04:00
zhitkoff
70dd8eb8dc split: updates to target correct GNU coreutils release 2023-08-26 13:22:36 -04:00
renovate[bot]
b3e994b360
chore(deps): update rust crate regex to 1.9.4 2023-08-26 16:50:39 +00:00
zhitkoff
84d96f9d02 split: refactor for more common use case 2023-08-26 11:11:46 -04:00
Daniel Hofstetter
db342556c2 nl: implement -d/--section-delimiter 2023-08-26 16:15:26 +02:00
Terts Diepraam
6f515965c2
Merge pull request #5207 from cakebaker/fix_unused_self
parse_size,dd: turn instance fns to associated fns
2023-08-26 15:54:56 +02:00
Daniel Hofstetter
2e2387d434 parse_size,dd: turn instance fns to associated fns 2023-08-26 14:35:35 +02:00
zhitkoff
350b9c3d48 reverted commented out test files and added more details in TODO(s) 2023-08-25 13:43:48 -04:00
Sylvestre Ledru
f0602b0ce6
Merge pull request #5204 from cakebaker/fix_clippy_warnings
Fix clippy warnings with Rust 1.72.0
2023-08-25 13:21:38 -04:00
Sylvestre Ledru
e8ed65f4fa
Merge pull request #5206 from cakebaker/fix_bool_to_int_with_if
uucore,comm: fix warnings from bool_to_int_with_if
2023-08-25 13:20:00 -04:00
Sylvestre Ledru
055537e831
Merge pull request #5187 from Benjscho/jwalk-investigation
Add benchmarking for `rm`
2023-08-25 13:19:14 -04:00
Sylvestre Ledru
14d6002663
Merge pull request #5205 from cakebaker/remove_author_copyright_notices
Remove the author copyright notices
2023-08-25 09:37:45 -04:00
Daniel Hofstetter
79a44d768c uucore,comm: fix warnings from bool_to_int_with_if 2023-08-25 15:29:15 +02:00
Daniel Hofstetter
b9c05ed4e3 Remove the author copyright notices
from files missed by https://github.com/uutils/coreutils/pull/5184
and https://github.com/uutils/coreutils/pull/5197
2023-08-25 15:03:19 +02:00
Daniel Hofstetter
01b2834f2e Fix clippy warnings with Rust 1.72.0 2023-08-25 13:22:02 +02:00
zhitkoff
6468845850 refactor to check for system timeout once + commented out many moved/deleted test files that make script fail 2023-08-24 20:36:52 -04:00
Ben Schofield
4d78ca47b1 Add Spell ignore
Add `samply` and `flamegraph` to spell ignore lists.
2023-08-24 11:15:03 -06:00
Sylvestre Ledru
ffbfea4fa4
Merge pull request #5199 from tertsdiepraam/normalize-license-notice
All: normalize license notice in all `*.rs` files
2023-08-24 06:46:06 -04:00
Terts Diepraam
c3f9e19a3b all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
Ben Schofield
903490a9c8 spelling 2023-08-23 13:05:06 -07:00
Sylvestre Ledru
3fc36ee3cf
Merge pull request #5197 from cakebaker/remove_author_copyright_notices
Remove the author copyright notices
2023-08-23 06:21:47 -04:00