I have a file with about 50K records, but the problem is there are no newline characters anywhere. So it all appears as one huge line. I know where the newline char should be ( after 300 chars), but is there a way to do this.
I have used 'cut' to do the job in a while loop ( I also know the end condition), but this is very slow.
Does anyone know of a command or a simpler way of doing this.
Thanks,
I have used 'cut' to do the job in a while loop ( I also know the end condition), but this is very slow.
Does anyone know of a command or a simpler way of doing this.
Thanks,