-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
split: implement round-robin arg to --number #3281
Conversation
24a3056
to
82ed863
Compare
I rebased this branch to take another look at this issue. The summary from the GNU test workflow is misleading. It says:
but
(from recent build on I believe that this is another case where implementing a feature has caused one of the GNU tests to be able to run further than it had previously been able to run. Specifically, I believe that if we merge this, then there will be one less ERROR and one more FAIL in the GNU test suite. The issue we were previously seeing no longer seems to be present, so I think we should re-consider merging this new feature. |
If I understand correctly, we should change how we report the GNU changes? ERROR -> FAIL should probably be considered an improvement, instead of being reported as a problem. |
Yes, I believe that is correct. But I haven't looked at the code that summarizes the GNU test results so I'm not totally positive about that. |
3788401
to
d118373
Compare
d118373
to
f033b25
Compare
26e1583
to
ebe200b
Compare
I rebased this pull request.
|
ebe200b
to
2e50456
Compare
2e50456
to
4e7bca2
Compare
c7f719c
to
1df52a3
Compare
f8e3797
to
32155e1
Compare
32155e1
to
b3ddeae
Compare
Fails with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI broken, could you please have a look? sorry
Implement distributing lines of a file in a round-robin manner to a specified number of chunks. For example, $ (seq 1 10 | split -n r/3) && head -v xa[abc] ==> xaa <== 1 4 7 10 ==> xab <== 2 5 8 ==> xac <== 3 6 9
b3ddeae
to
7dc9669
Compare
GNU testsuite comparison:
|
@sylvestre The
|
Help wanted! This change was previously merged in pull request #3205. Unfortunately, it resulted in an issue with the GNU test suite; see issue #3268. The change was subsequently reverted in pull request #3269. I am re-creating this pull request hoping that someone can diagnose the issue with the GNU test caseThat issue no longer seems to be present on this branch after I rebased.tests/split/filter.sh
as described in issue #3269.Implement distributing lines of a file in a round-robin manner to a
specified number of chunks. For example,