RE: adding lines

From: Kjetil Strønen <>
Date: Tue, 15 Dec 2009 10:10:31 +0100
Message-Id: <>

On Tue, 2009-12-15 at 14:22 +0530, Noor Mulla wrote:
> In the below cmd \n is not going to newline.. is the syntax fine
> sed -e "s/^load\ data/unrecoverable\nload\ data/g" \

Hmm. It depends on the sed-version, it seems. It works fine on the linux-boxes I have tried, but apparently not in your version of sed.

Waldirio suggested using


to insert UNRECOVERABLE at line 1, maybe that works better in your environment.


Received on Tue Dec 15 2009 - 03:10:31 CST

Original text of this message