8000 split: implement round-robin arg to --number by jfinkels · Pull Request #3205 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

split: implement round-robin arg to --number #3205

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

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

jfinkels
Copy link
Collaborator
@jfinkels jfinkels commented Mar 2, 2022

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

@sylvestre
Copy link
Contributor

it is conflicting :)
sorry!

@jfinkels jfinkels force-pushed the split-round-robin branch 2 times, most recently from e4cf582 to 0b585c8 Compare March 6, 2022 20:36
@sylvestre sylvestre force-pushed the split-round-robin branch from 0b585c8 to e0665d7 Compare March 9, 2022 18:45
@jfinkels jfinkels force-pushed the split-round-robin branch 3 times, most recently from ec533e1 to 685e585 Compare March 13, 2022 18:53
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0