From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718211860.tru64-unix-managers.marc@archive.invalid> From: "Warren, John H." Date: Fri, 21 Aug 1998 03:24:42 +0000 To: tru64-unix-managers Subject: sed question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718211860 I have created a text file that contains two lines- one with a timestamp, the other with one ping command output. I want to join both lines (remove the linefeed after the first line), but am having no luck. I open the file in vi, and attempt to use the following: :1,$s/1998\n/1998/ <<1998 is the last token in the line>> Any help is appreciated John H. Warren