[CentOS] awk global replacement only after keyword
Joseph L. Casale
jcasale at activenetwerx.com
Fri Mar 26 03:02:22 UTC 2010
>I think there is a way to do it in sed using the holding space, but it's so much
>easier in perl that I never bothered to learn the hard parts. What's the
>problem with using perl anyway?
No problem, just thought there was a sexier way to do it then my ugly way. The
Perl solution would be just as long if it were a one liner, so I'll just shove
it into a shell script I guess.
Thanks!
jlc
More information about the CentOS
mailing list