SED question: entering a blank line above eight character found

Hello All:

After finding a ":", I would like to enter a blank line above the line
that the colon is found.

How do I do this with SED?

Deguza
Kompu Kid [ Fr, 28 Dezember 2007 07:58 ] [ ID #1894714 ]

Re: SED question: entering a blank line above eight character found

On 2007-12-28, Kompu Kid <deguza [at] hotmail.com> wrote:
>
>
> Hello All:
>
> After finding a ":", I would like to enter a blank line above the line
> that the colon is found.
>
> How do I do this with SED?
>
sed '/:/i\
'

> Deguza
Bill Marcum [ Fr, 28 Dezember 2007 08:48 ] [ ID #1894718 ]
Linux » comp.unix.shell » SED question: entering a blank line above eight character found

Vorheriges Thema: Re: How to setup a simple shell script? "bad interpreter: No such file or directorybin/bash&quo
Nächstes Thema: cygwin