There is a .txt file with data like following:
1 00000001.setts 0x
2 00000002.setts 0x
3 00000003.setts 0x
4 00000004.setts 0x
...
59876 0000e9e4.setts 0x
59877 0000e9e5.setts 0x
59878 0000e9e6.setts 0x
the number of strings are always dynamic and far from ending in a round number (there are about 100k of them). How is it possible to implement in the form of code the division of such a large file with strings into smaller files (1500 for each small file) of the txt format?
I should clarify that I tried to implement this task, but unfortunately I encounter the fact that it doesn't read everything and some of the data is lost ( Read only 59514 strings out of 59878 )
The file is pretty big, the structure consists of two values, followed by a space and /n