[CentOS] awk global replacement only after keyword
craigwhite at azapple.com
Fri Mar 26 02:02:07 UTC 2010
On Fri, 2010-03-26 at 00:36 +0000, Joseph L. Casale wrote:
> Trying to avoid a perl script which wouldn't be hard, but I am looking
> for an awk one liner that does a replacement, but only after it sees a
> key word on some line.
> Anyone know of that's easy to do?
sounds more like a reason to use sed
man sed or tell us exactly what you are trying to do
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the CentOS