Hello All,
I would greatly appreciate help on this issue. 
I have two text files.

One like this:

int-ddr-133-20150106-1SNQ00P8T7R2I-P1-QM86FIDXJ0ZI-Partition-N5PE02B4OLQB
int-ddr-133-20150106-1SNQ00P8T7R2I-P2-1QZA0TT1XQVF9-Partition-11R1LDQI6OF9H
int-ddr-133-20150106-1SNQ00P8T7R2I-P3-1U8YDIB81O5H0-Partition-BIJC34LK49JP


And one like this:

i-370fc7d8
i-7c3cf493
i-5a1cd4b5


How can I create a third text file using awk to have output like this?

int-ddr-133-20150106-1SNQ00P8T7R2I-P1-QM86FIDXJ0ZI-Partition-N5PE02B4OLQB,i-370fc7d8
int-ddr-133-20150106-1SNQ00P8T7R2I-P2-1QZA0TT1XQVF9-Partition-11R1LDQI6OF9H,i-7c3cf493
int-ddr-133-20150106-1SNQ00P8T7R2I-P3-1U8YDIB81O5H0-Partition-BIJC34LK49JP,i-5a1cd4b5



Question: problem with bcm43xx / b43 / b43legacy blacklisted /var/log/jockey.log
Answer: moved the OP's answer from their question to this section

1- Run this command to edit the blacklist file

sudo pico /etc/modprobe.d/blacklist.conf


add '#' in the beginning of the line containing bcm/bcm43/b43 etc 
save and exit

2- Run these commands

wget http://archive.ubuntu.com/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu1_amd64.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu1_amd64.deb


3- Now enable wireless from the top right of the screen, and you are done

I hope these info will help anyone