I'm asking your help, I want to remove words 'TAGS' , 'Owner' , 'QA' from the txt file . in single sed command , example sed -e 's/\TAGS//g' test.txt and add the email address example John@gmail.com to the end of the line example postgres vp-postgres None default:postgres-13 True stopped db.m6g.large 13.4 vpc-95525af1 John@gmail.com
postgres vp-postgres None default:postgres-13 True stopped db.m6g.large 13.4 vpc-95525af1
TAGS Owner John@gmail.com
TAGS QA
TAGS autostop yes