I need to add an entry into a file, right before the last line. The last line is the same on most of thefile, so I thoutht I coul serach it out and eith insert my new line or deleter this line and replace it with two line (my new line and the original line I deleted))I have tried the -i command but am not having luck. Any help would be appreciated. Thanks.