zhitkoff
7b2a3e236e
split: r-chunk tests and infinite input
2023-11-25 11:12:08 -05:00
zhitkoff
440e7b1a59
split: r-chunk test compliance
2023-11-25 11:12:08 -05:00
zhitkoff
dc92a434ef
split: handling system limit on open files
2023-11-25 11:12:08 -05:00
zhitkoff
4dc46f10e9
split: pass GNU test l-chunk
2023-11-24 10:06:16 +01:00
Yury Zhytkou
eb00c195c6
split: pass GNU tests/b-chunk.sh ( #5475 )
...
---------
Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Brandon Elam Barker <brandon.barker@gmail.com>
Co-authored-by: Kostiantyn Hryshchuk <statheres@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 17:19:10 +01:00
cswn
c4580df2a4
split: remove crash macro
2023-11-14 18:07:35 +01:00
Sylvestre Ledru
ff92bfb25b
Prepare version 0.0.23
2023-11-13 22:02:01 +01:00
Kostiantyn Hryshchuk
6ac1af6953
Fix clippy::implicit_clone
2023-11-04 21:04:29 +01:00
zhitkoff
62887c7a58
split: directory separator in additional suffix
2023-11-02 17:17:38 +01:00
zhitkoff
f05474a33a
split: slash separator
2023-11-02 17:17:38 +01:00
zhitkoff
8372a3d2cc
split: refactor filename suffix
2023-11-02 17:17:38 +01:00
zhitkoff
fbb454a080
split: suffix auto-widening and auto-width tests
2023-11-02 17:17:38 +01:00
zhitkoff
733359d48b
split: refactor suffix auto-widening and auto-width
2023-11-02 17:17:38 +01:00
Yury Zhytkou
a3fed79b5c
split
: suffix auto length (#5433 )
2023-10-23 22:47:39 +02:00
Yury Zhytkou
eede467e21
split
: --filter
and stdin updates (#5418 )
2023-10-20 08:47:32 +02:00
zhitkoff
cb7479e823
uucore: implement SI suffixes R and Q
2023-10-17 10:50:50 -04:00
Sylvestre Ledru
e1bd47d549
0.0.21 => 0.0.22
2023-10-15 14:33:23 +02:00
Daniel Hofstetter
a69d48fb8c
clippy: suppress cognitive_complexity lint
2023-10-13 14:53:32 +02:00
zhitkoff
a920464952
split: undocumented options aliases + help fix
2023-10-11 12:13:22 -04:00
Daniel Hofstetter
2ba7400d05
clippy: suppress cognitive_complexity lint
...
for two functions
2023-10-07 15:15:44 +02:00
Yury Zhytkou
c5a0aa92f8
split: implementing separator option ( #5331 )
...
* split: implementing separator option
* split: separator option - handle multiple update
* split: style
* split: separator tests
* split: separator tests - stdin in ci/cd
* split: tests - ci/cd stdin errors
* split: refactor based on feedback
* split: improve test coverage
* split: fix broken pipe error in tests with stdin
* split: fix for handle_multiple_separator_options
* split: comments
* split: refactor separator code
* split: changes based on feedback
* split: changes based on feedback
2023-10-03 00:42:46 +02:00
Daniel Hofstetter
39a0e92a91
Merge pull request #5255 from granquet/split_filter_broken_pipe
...
split: catch broken pipe error for round robin strategy
2023-09-13 14:08:45 +02:00
Daniel Hofstetter
aa7b39ae49
split: fix formatting
2023-09-13 10:45:38 +02:00
Guillaume Ranquet
d4217c5a12
split: catch broken pipe error for round robin strategy
...
The broken pipe error is not handled in the case of the round robin
strategy (typically used with --filter).
Align to the other strategies to silence that error in that use case
too.
fixes #5191
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2023-09-12 17:43:31 +02:00
zhitkoff
3be284e0d9
split: more test coverage
2023-09-06 19:49:26 -04:00
zhitkoff
e40e887022
split: some refactoring for handle_obsolete()
2023-09-06 18:43:20 -04:00
zhitkoff
eaae32ec3b
split: comments
2023-09-05 20:12:25 -04:00
zhitkoff
2ae1d8d1cc
split: missing functionality for --number option
2023-09-05 17:13:30 -04:00
zhitkoff
636c2bb7ae
uucore: parse_size_max and split
2023-09-04 12:05:26 -04:00
zhitkoff
420965a3ab
prereq for fixing tests/split/fail.sh
2023-09-03 20:39:50 -04:00
Sylvestre Ledru
9844f1f07d
0.0.20 => 0.0.21
2023-09-03 14:42:54 +02: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
zhitkoff
6f37b4b4cf
split: hyphenated values + tests
2023-08-30 19:29:57 -04: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
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
zhitkoff
84d96f9d02
split: refactor for more common use case
2023-08-26 11:11:46 -04:00
Terts Diepraam
c3f9e19a3b
all: normalize license notice in all *.rs files
2023-08-24 12:21:09 +02:00
Daniel Hofstetter
774180bb09
Remove the author copyright notices
...
from files missed by #5184
2023-08-23 10:54:00 +02:00
Sylvestre Ledru
bfca6bf70f
Add license headers on all files
2023-08-21 10:49:27 +02:00
Sylvestre Ledru
74530c0f51
Update the version to 0.0.20
2023-07-14 13:04:17 +02:00
Sylvestre Ledru
264d29a169
fix the clippy warning
2023-07-04 18:45:11 +02:00
Sylvestre Ledru
d033db3573
split: reject some invalid values
...
Matches what is done in tests/split/fail.sh
(still doesn't work)
2023-07-03 22:57:37 +02:00
Sylvestre Ledru
6ecef3a0e3
Reformat TOML files with taplo
...
npx --yes @taplo/cli fmt
2023-06-08 09:07:19 +02:00
Sylvestre Ledru
830b7d5ce1
New release
2023-06-04 09:46:59 +02:00
m11o
0b84aa52f3
fix check-spell
2023-04-25 22:26:47 +09:00