输入数据:
id,location_id,name,title,[email protected],department
1,1,Susan houston,Director of Services,[email protected],
2,1,Christina Gonzalez,Director,[email protected],
3,2,Brenda brown,"Director, Second Career Services",[email protected],
4,3,Howard Lader,"Manager, Senior Counseling",[email protected],
8,6,Bart charlow,Executive Director,[email protected],
9,7,Bart Charlow,Executive Director,[email protected],
我需要在电子邮件部分后添加一个字符来复制电子邮件,即[email protected]将变为[email protected](电子邮件部分后的数字需要从第二列中取出)。我如何在 Bash 中对所有条目执行此操作?