On Tue, Jan 17, 2006 at 09:41:31PM -0800, Todd Walton wrote:
> I want to use sed to take a config file, find an option in the file
> and change its value, and to leave the file in place.  I want a
> portable, scriptable way to do 'vi settings.config', find setting,
> edit text, ":wq".
> 
> I don't know sed at all, I just know that it does this kind of thing. 
> What's the best way for a new person to approach getting a basic
> understanding of its use?
> 
> -todd

Do you know perl? Because all you would be doing is learning an older,
more obscure way of doing what you already can with perl.

This isn't meant as flame bait, but it might as well be. Oh, hell ...
might as well go all the way.

Forget sed and awk. They're obsolete. Do it in perl.

*That's* flame bait!

-- 
Lan Barnes                    [EMAIL PROTECTED]
Linux Guy, SCM Specialist     858-354-0616


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to