I have this file :
example-site1.com site-site1.com user1 password1
example-site2.com site-site2.com user2 password2
example-site3.com site-site3.com user3 password3
there are irregular spaces, and i want to add port 80 behind the site and the @ character
i need to arrange the words like this :
example-site1.com:80@user1@password1
example-site2.com:80@user2@password2
example-site3.com:80@user3@password3
can someone help me?
Thanks.