unix - How to insert periodic newlines into a file with 1 incredibly long line -
i have text file 1 line, 2g characters.
i need find within file, line long open in editor - either on unix, or if ftp on pc...
is there quick / simple way insert newline, example, every 120 characters?
fold
command that, if want wrap after 120..
fold -w120 fie > newfile
Comments
Post a Comment