Yury Zhytkou
e0b000a3bc
Merge branch 'main' into split-gnu-test-fail.sh
2023-09-05 17:22:31 -04:00
zhitkoff
2ae1d8d1cc
split: missing functionality for --number option
2023-09-05 17:13:30 -04:00
Sylvestre Ledru
8b24e7ce0b
Merge pull request #5246 from cakebaker/yes_use_let_else
...
yes: use let/else to fix todo
2023-09-05 09:51:22 +02:00
Sylvestre Ledru
ce6be522af
Merge pull request #5245 from cakebaker/wc_ilog10
...
wc: use Rust's ilog10(), remove custom ilog10 fn
2023-09-05 09:51:13 +02:00
Daniel Hofstetter
e493b9c527
yes: use let/else to fix todo
2023-09-05 08:16:25 +02:00
Daniel Hofstetter
f30b59efc0
wc: use Rust's ilog10(), remove custom ilog10 fn
2023-09-05 07:37:14 +02:00
zhitkoff
636c2bb7ae
uucore: parse_size_max and split
2023-09-04 12:05:26 -04:00
Daniel Hofstetter
4992cb9b86
Use std::io::IsTerminal instead of is-terminal
2023-09-04 10:35:17 +02:00
zhitkoff
420965a3ab
prereq for fixing tests/split/fail.sh
2023-09-03 20:39:50 -04:00
Daniel Hofstetter
183d465f74
uucore: turn ranges into a feature
2023-09-03 16:20:15 +02:00
Daniel Hofstetter
f8845cde24
Merge pull request #5237 from sylvestre/version-21
...
0.0.20 => 0.0.21
2023-09-03 16:00:26 +02:00
Sylvestre Ledru
9844f1f07d
0.0.20 => 0.0.21
2023-09-03 14:42:54 +02:00
Terts Diepraam
cb8c0e79e2
cp: finish progress bar to make it always show up
2023-09-02 18:46:18 +02:00
Sylvestre Ledru
1f3f9d85f7
Merge pull request #5232 from cakebaker/uucore_update_control_feature
...
uucore: turn update_control into a feature
2023-09-02 16:22:21 +02:00
Daniel Hofstetter
be3aac924b
mknod: remove unnecessary "not" in test
2023-09-02 16:02:14 +02:00
Daniel Hofstetter
b405d4e6cc
uucore: turn update_control into a feature
2023-09-02 14:45:58 +02:00
Sylvestre Ledru
633ae06524
Merge pull request #5225 from tertsdiepraam/factor-short-circuit-write-error
...
`factor`: short circuit on write error, but not on parse error
2023-09-01 21:09:25 +02:00
Sylvestre Ledru
6012002880
Merge pull request #5231 from cakebaker/uucore_backup_control_feature
...
uucore: turn backup_control into a feature
2023-09-01 21:08:59 +02:00
Sylvestre Ledru
b783088900
Merge pull request #5229 from cakebaker/uucore_make_dunce_optional
...
uucore: make "dunce" optional
2023-09-01 16:54:42 +02:00
Daniel Hofstetter
b41ff2ed7f
uucore: turn backup_control into a feature
2023-09-01 16:20:37 +02:00
Daniel Hofstetter
2e71508308
uucore: make "dunce" optional
2023-09-01 09:47:22 +02:00
XXIV
4f465eb76c
remove unnecessary heap allocation
2023-08-31 23:44:45 +03: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
fb1c663724
uucore: make deps of "sum" feature optional
2023-08-31 16:45:55 +02:00
zhitkoff
6f37b4b4cf
split: hyphenated values + tests
2023-08-30 19:29:57 -04:00
Terts Diepraam
9a67393c44
factor: short circuit on write error, but not on parse error
2023-08-30 18:51:29 +02:00
zhitkoff
7f905a3b8d
split: edge case for obs lines within combined shorts + test
2023-08-29 16:35:00 -04: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
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
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
zhitkoff
84d96f9d02
split: refactor for more common use case
2023-08-26 11:11:46 -04:00
Daniel Hofstetter
2e2387d434
parse_size,dd: turn instance fns to associated fns
2023-08-26 14:35:35 +02: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
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
Ben Schofield
4d78ca47b1
Add Spell ignore
...
Add `samply` and `flamegraph` to spell ignore lists.
2023-08-24 11:15:03 -06: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
Daniel Hofstetter
774180bb09
Remove the author copyright notices
...
from files missed by #5184
2023-08-23 10:54:00 +02:00
Ben Schofield
9ddf218ed9
Add samply url
2023-08-22 07:59:11 -07:00
Ben Schofield
181261beef
Add samply to sampling options
...
Add samply to the sampling options for `rm` benchmarking.
2023-08-22 07:56:42 -07:00