I have researched what was suggested by glenn jackman and have worked a solution in python. Here is my code using Python:
#!/usr/bin/python
import sys, csv, os
inputfile=sys.argv[1]
outputfile=sys.argv[1] + '.filter'
newtext=' '
print inputfile
print outputfile
with open(inputfile, "rb") as input:
with open(outputfile, "wb") as output:
w = csv.writer(output, delimiter=',', quotechar='"', quoting=csv.QUOTE_NONNUMERIC, lineterminator='\n')
for record in csv.reader(input):
w.writerow(tuple(s.replace("\n", newtext) for s in record))
os.rename(outputfile, inputfile)
Thanks everyone for all the help. Hopefully someone having the same issue will find this. My only problem with this solution is that it adds quotes around all fields, including null fields.
Thanks, Josh
EDIT:
I was able to use perl to quickly remove all double quotes next to eachother.
perl -pi -le 's/""//g' data