[CentOS] awk global replacement only after keyword
Joseph L. Casale
jcasale at activenetwerx.comFri Mar 26 01:36:46 UTC 2010
- Previous message: [CentOS] awk global replacement only after keyword
- Next message: [CentOS] awk global replacement only after keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>sounds more like a reason to use sed > >man sed or tell us exactly what you are trying to do Tell you the truth, I would much rather use sed, but I didn't think that was doable with it. I have a slew of txt files that contain a keyword like "service-one" on many lines. I need to change those, but only the ones that appear _after_ a known comment. Thanks! jlc
- Previous message: [CentOS] awk global replacement only after keyword
- Next message: [CentOS] awk global replacement only after keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list