Splitfile is a terminal utility that I created for personal use.
It splits large text files into smaller files of 5000 characters each.
Compile the program.
gcc splitfile.c -o splitfile
Run the binary
./splitfile
Currently the program has to be run in the same directory as the file you want to split.
Simply provide the name of the text file you want to split when prompted to do so.
The code is AGPLv3 - see license for more info.
I am not liable for how you use the splitfile program. Any losses you incur are solely your own. This program is provided expressly, as is, and without any warranty.