alhassani54
Programmer
Hi
I have a text UNIX file, the file contains one line and the line contains from 0 to thousands of characters.
Firstly, I want to check the line should not be larger than 20,000 characters.
Secondly, if the line is greater than 20,000 characters I want to split it to lines in a new file. Each line must not be greater than 20,000 characters.
Any help will be appreciated.
I have a text UNIX file, the file contains one line and the line contains from 0 to thousands of characters.
Firstly, I want to check the line should not be larger than 20,000 characters.
Secondly, if the line is greater than 20,000 characters I want to split it to lines in a new file. Each line must not be greater than 20,000 characters.
Any help will be appreciated.