Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer
Etaoin Shrdlu [11-02-12 14:36]: > On Sat, 12 Feb 2011 14:11:20 +0100 > meino.cra...@gmx.de wrote: > > > Alan McKinnon [11-02-12 13:44]: > > > Apparently, though unproven, at 13:25 on Saturday 12 February 2011, > > > meino.cra...@gmx.de did opine thusly: > > > > > > > Hi, > > > > > > > > I am

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
On Sat, 12 Feb 2011 14:11:20 +0100 meino.cra...@gmx.de wrote: > Alan McKinnon [11-02-12 13:44]: > > Apparently, though unproven, at 13:25 on Saturday 12 February 2011, > > meino.cra...@gmx.de did opine thusly: > > > > > Hi, > > > > > > I am trying to instruct sed to insert a line of text befo

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer
Alan McKinnon [11-02-12 13:44]: > Apparently, though unproven, at 13:25 on Saturday 12 February 2011, > meino.cra...@gmx.de did opine thusly: > > > 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 (

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Etaoin Shrdlu
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/insertedli

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread dhk
On 02/12/2011 06:25 AM, 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? > > Thank you very much for any hint i

Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread Alan McKinnon
Apparently, though unproven, at 13:25 on Saturday 12 February 2011, meino.cra...@gmx.de did opine thusly: > 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 i

[gentoo-user] OT: sed on the commandline

2011-02-12 Thread meino . cramer
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? Thank you very much for any hint in advance! Best regards, mcc