Skip to content

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