gargamel100
Technical User
Hi all,
I have the following file output
(2, 1, 'rambo', 'ffsffsdfsdfsd1daf15edf96ec03a4e977a12aa', 1131101341, .....
(3, 1, 'rambo1', '9fsdchyth4354547f4a1787aad393142', 1149053489, 0, ........
This is output of forum mysql database. .... means that there is some additional fields but they are not important at this moment. Is there any way to words rambo and rambo1 transfrer into rambo@ca and rambo1@ca and get output like bellow.
(2, 1, 'rambo@ca', 'ffsffsdfsdfsd1daf15edf96ec03a4e977a12aa', 1131101341, .....
(3, 1, 'rambo1@ca', '9fsdchyth4354547f4a1787aad393142', 1149053489, 0, .......
This is not clear to me how do this using awk or sed, so is there anybody out there who know just a hint how solve this problem that will be very useful for me.
Thanks in advance
I have the following file output
(2, 1, 'rambo', 'ffsffsdfsdfsd1daf15edf96ec03a4e977a12aa', 1131101341, .....
(3, 1, 'rambo1', '9fsdchyth4354547f4a1787aad393142', 1149053489, 0, ........
This is output of forum mysql database. .... means that there is some additional fields but they are not important at this moment. Is there any way to words rambo and rambo1 transfrer into rambo@ca and rambo1@ca and get output like bellow.
(2, 1, 'rambo@ca', 'ffsffsdfsdfsd1daf15edf96ec03a4e977a12aa', 1131101341, .....
(3, 1, 'rambo1@ca', '9fsdchyth4354547f4a1787aad393142', 1149053489, 0, .......
This is not clear to me how do this using awk or sed, so is there anybody out there who know just a hint how solve this problem that will be very useful for me.
Thanks in advance