Put the lines from file A to end of lines in file B

view story

http://www.unix.com – I really can't figure this one out. I have 2 files, one file is a list of hostnames and the other is a list of their corresponding IPs: fileA: Code: example.com another.org thirdie.net fileB: Code: I want to create a fileC that looks like: Code: example.com another.org thirdie.net How would I achieve this? I have a huge sed command happening but I am not at work at the moment so I can't show you what I have so far. Any help would be great, thanks. fileA and fileB are generated from other scripts and will always have a matching (HowTos)