help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple 'sed' question


From: Dan Henry
Subject: Re: simple 'sed' question
Date: Fri, 23 Dec 2005 23:04:37 -0700

On 23 Dec 2005 19:15:20 -0800, "namesagame-usenet@yahoo.com"
<namesagame-usenet@yahoo.com> wrote:

>Hi,
>
>How do I change a line like this:
>     bar
>to:
>    foo
>   bar
>???
>
>I want to go thru a group of files and insert a line just before
>another line.
>
>TIA,
>-T

/bar/i\
foo

-- 
Dan Henry


reply via email to

[Prev in Thread] Current Thread [Next in Thread]