I have a huge text file. This file has many lines and most of them have more that N
characters before end-line.
How can I use sed
to truncate lines from N
th character until the end of line?
Note: Obviously after this operation maximum line length is N
.