On Sat, 12 Feb 2011 12:25:20 +0100 meino.cra...@gmx.de wrote:

> Hi,
> 
>  I am trying to instruct sed to insert a line of text before 
>  a matched line. The whole command should fit into one 
>  physical (command) line.
> 
>  Is it possible? And how is it possible?

sed 's/matchingline/insertedline\n&/'

Reply via email to