in reply to Long string needs to be separated
If the remains of the file (after all the insertions) is less than 150 chars, it will be printed anyway. If you have newlines within the line, then it will come up double. But if you are sure that there are not newlines, this one will do.perl -ne 'while (/(.{0,150})/g) {print "$1\n"}' largefile.txt
_ _ _ _ (_|| | |(_|>< _|
|
|---|