Huge file - need to replace string with something unique
I have a huge file, that contains hundreds of the string _EMAIL_
I need to change that string to be _EMAIL_1 then to _EMAIL_2 then to _EMAIL_3 etc etc etc
I imagine awk would be the best job for this, but I'm not familar enough with it.
Can someone spit out something that increments the replacement word?
I think awk should do this, how would I write it?
awk find the string "_EMAIL_" and then replace with "_EMAIL_"++
Thanks for the help.
|