From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 5 Mar 2010 09:19:05 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] sed Q Topicbox-Message-UUID: e0804792-ead5-11e9-9d60-3106f5b1d025 On 5 March 2010 08:17, Peter A. Cejchan wrote: > hi, > i would like to append next line if current ends with ']' > however > > =A0 =A0 sed '/\]$/N' foo > > does not work... > ++pac (I think N just adds the next line to the buffer and you have to manually get rid of the special newline in the middle.) Ruda