Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 00:21:26 -0800 (PST)
From:      Chris P <freebsd@rawfire.torche.com>
To:        doug <doug@fledge.watson.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: csh question..
Message-ID:  <Pine.BSF.4.44.0303160020370.69842-100000@rawfire.torche.com>
In-Reply-To: <Pine.BSF.3.96.1030316024132.59462A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
How about an example?  I know only know sed for replacing things, not
inserting a new line into a file in a specific place, even though the info
around it changes.

C.

On Sun, 16 Mar 2003, doug wrote:

> sed
>
> On Sat, 15 Mar 2003, Chris P wrote:
>
> >
> > Hello..
> >   Not really a freebsd question, but still a good forum to ask this.
> > How would I insert a line into a file via a csh script.  example...
> > I have a file that is generated via the script, and I need to insert a
> > line between line 1 and 2.  I could do it via a head, or tail statement,
> > and alot of steps, but I was wondering if there was an easier way to do
> > it.
> >
> > Thanks!
> > C.
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0303160020370.69842-100000>