I have two working scripts, but neither of them as I would like. The sample data file I have is in a file called 'file2.txt'
Email,IP,weight,att1
jim.bob@junk.com,192.168.0.1,2,4
steve.bob@mc.com,192.168.0.1,3,4
mary.bob@video.com,192.168.0.25,4,4
The first script I have works and produces...