Gents,
I have a large file and each line of the file contains more than 200 bytes.Please let me a way to have the new line to start when the word "FIT" appears.
I was trialling with 'tr' command but i am not sure how to get it based on bytes and so it wasn't working...
Current file
-----------
FITH020611080PVERSION 05 FITD06042410 035319N86203980506C YNYNNN NNNNNNNN4112FITD042001
050913N84001990715C YNNNNN NNNNNNNN1404FIT
Required format
---------------
FITH020611080PVERSION 05
FITD06042410 035319N86203980506C YNYNNN NNNNNNNN4112
FITD042001050913N84001990715C YNNNNN NNNNNNNN1404
FIT