I have several large files, each of which I want to chunk/split it in to predefined number of parts.
Is there an efficient way to do it in Unix (e.g. via awk/sed/perl)?
Also each file can have varied number of lines.
File1.txt 20,300,055 lines
File2.txt 10,033,221 lines
etc...