Trying to use sed to remove last line if it contains a certain string.
I'm trying to figure out how to utilize "sed" to remove the last instance of a certain string in a file. Not on every line, just the last line containing certain text.
Last edited by slaxative; 03-17-2008 at 12:09 PM.
|