I need to modify one of my data files...
can any one tell my how i could insert a word in a string:
for example:
I have a list file containing the following email addresses
pe...@new-york.abc.com
sa...@new-york.nbc.com
and son on..
I need to insert "nycsu2" between the symbol @ and new-york followed by
a dot (.) giving me the final outcome as follows:
pe...@nycsu2.new-york.abc.com
sa...@nycsu2.new-york.nbc.com
can i do that using grep or awk or both.. any and all the help will be
greatly appreciated:
my email address is :
il...@nycsu2.new-york.sl.slb.com
or
il...@new-york.sl.slb.com
or
il...@ycvax.york.cuny.edu