I have a txt file that contains multiple occurrances of:
<MoreFlag>Y</MoreFlag>
I want to update these to:
MorePACFlag>Y</MorePACFlag>
How would I do this?
Cheers
Paul
I have a txt file that contains multiple occurrances of:
<MoreFlag>Y</MoreFlag>
I want to update these to:
MorePACFlag>Y</MorePACFlag>
How would I do this?
Cheers
Paul
perl -i -pe 's/MoreFlag>/MorePACFlag>/g' input_file
vim filename
vim ***
:%s/MoreFlag/MorePACFlag/g