I have a text file containing a list of strings. The strings are separated by newlines and have the same length, 8-digit. I need to split larger file into smaller chunks, where each chunk contains 4 strings, all strings in the same sequence as they are in a large file.
So I need to create 16 files, 15 files x 4 string each + 1 file x 2 strings. The files should be named as
What is simplest way to solve this using tools such as