Commit graph

11943 commits

Author SHA1 Message Date
XXIV
4f465eb76c
remove unnecessary heap allocation 2023-08-31 23:44:45 +03:00
zhitkoff
d2812cbbc3 split: disable windows test for invalid UTF8 2023-08-31 16:04:44 -04:00
zhitkoff
271a108fa9 split: formatting 2023-08-31 15:37:42 -04:00
zhitkoff
5bfe9b19ef split: avoid using collect_lossy + test for invalid UTF8 arguments 2023-08-31 14:46:56 -04:00
Daniel Hofstetter
44f74c7b25
Merge pull request #5227 from cakebaker/uucore_make_sum_dependencies_optional
uucore: make deps of "sum" feature optional
2023-08-31 17:44:13 +02:00
Daniel Hofstetter
fb1c663724 uucore: make deps of "sum" feature optional 2023-08-31 16:45:55 +02:00
Sylvestre Ledru
843540d05f
fix a typo 2023-08-31 09:21:59 +02:00
Daniel Hofstetter
cb428a808a
Merge pull request #5226 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.28
2023-08-31 07:00:55 +02:00
zhitkoff
6f37b4b4cf split: hyphenated values + tests 2023-08-30 19:29:57 -04:00
renovate[bot]
0d4db7fc95
chore(deps): update rust crate chrono to ^0.4.28 2023-08-30 22:40:44 +00:00
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