Mailing List Archive

Support open source code!


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

Re: sed question



> 
> LIBS="$ac_save_LIBS"
> 
> would become
> 
> LIBS="$ac_save_LIBS -lnetinet"
> 
> Can someone please tell me how to do this in sed. 
> 
try this:
cat infile | sed -e '/^LIBS=/s/\" *$/ -lnetinet&/' > outfile

//Matt


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links