03-14-2009
6,
0
Join Date: Mar 2009
Last Activity: 25 July 2010, 6:29 PM EDT
Posts: 6
Thanks Given: 0
Thanked 0 Times in 0 Posts
awk add Mac Address to new File
I have file one containing Mac Addresses minus colon. I would like to add them to a different file with columns seperated by commas. Such as
File 1
0000aa1122
0000aa1123
0000aa1126
Output File
Name, MacAddress,Date
Something, 0000aa1122,Something
Something, 0000aa1123,Something
Something, 0000aa1126,Something
I know awk should be able to do this quite easily but I am unable to work it out. Maybe a different tool would be better. Anyhelp would be appreciated.