On Mon, Apr 26, 2010 at 11:33 AM, Stephan Beal
<[email protected]>wrote:

> perl -i -pe 's|^(\s*KeyName\s*=(.*)|$1 New Value|' configfile
>

Sorry, a typo:

perl -i -pe 's|^(\s*KeyName\s*=)(.*)|$1 New Value|' configfile

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to