I have a standard text file of 100 000 lines.
I want to edit line 65800.
I can do this with "sed" but then how do I view just that line to check my changes ?
Unlikely, I know but if the changes you are making result in the line containing a string unique to the rest of the file, just do a grep on the string in question. Does this help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.