Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]sed question
- To: tlug@example.com
- Subject: sed question
- From: Antony Stace <antony@example.com>
- Date: Tue, 12 Jun 2001 13:09:29 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Reply-To: antony@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <cp2j7B.A.r0E.YYZJ7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: antony@example.com
Hi Folks I have a config file with the LIBS defined about 250 times through out the file. I want to use sed to change each line which starts with LIBS=" and at the end of the line, before the " mark, insert -lnetinet , ie the line LIBS="$ac_save_LIBS" would become LIBS="$ac_save_LIBS -lnetinet" Can someone please tell me how to do this in sed. Cheers Tony
- Follow-Ups:
- Re: sed question
- From: Matt Doughty <mdoughty@example.com>
- Re: sed question
- From: Bruno Raoult <braoult@example.com>
- Re: sed question
- From: Jake Morrison <jake_morrison@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: named at startup?
- Next by Date: Re: sed question
- Prev by thread: RE: Nomikai attendance list
- Next by thread: Re: sed question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links