Deleting last line in files
Posted: Sun Aug 19, 2007 1:37 am
I'm sure this is easy but I can't figure out how to do it.
I want to use AFR to delete the last line of a few thousand text files but I don't know what regular expression to use to select the last line - the last lines don't necessarily end with line breaks.
Thanks
I want to use AFR to delete the last line of a few thousand text files but I don't know what regular expression to use to select the last line - the last lines don't necessarily end with line breaks.
Thanks