Re: a sed question

2002-01-25 Thread Karl E. Jorgensen
On Fri, Jan 25, 2002 at 03:13:22PM -0100, andrej hocevar wrote: > Hello, > can someone please tell me how to instruct sed to make an empty line > before a certain pattern? For me, the same would be to make a new > line every N lines. > Thank you. > > e.g. > > Package: foo > Pin: bar > > Package

a sed question

2002-01-25 Thread andrej hocevar
Hello, can someone please tell me how to instruct sed to make an empty line before a certain pattern? For me, the same would be to make a new line every N lines. Thank you. e.g. Package: foo Pin: bar Package: ... etc ...