Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!pyramid!wjvax!mario From: mario@wjvax.UUCP (Mario Dona) Newsgroups: comp.sys.ibm.pc Subject: Problem using GNU SED Keywords: SED Message-ID: <1564@wjvax.UUCP> Date: 18 May 89 17:46:20 GMT Organization: Watkins-Johnson Co., San Jose Lines: 10 OK, I got a VERY simple question. How do you delete the last line of a file using GNU's version of SED? On Unix all you have to do is: $d but this doesn't work on GNU's SED. While I'm at it, can GNU SED search for a formfeed character (ASCII 12) and replace it with whatever? Any help is certaintly appreciated. Mario Dona ...!{ !decwrl!qubix, ames!oliveb!tymix, pyramid}!wjvax!mario The above opinions are mine alone and not, in any way, those of WJ.