While trying to migrate my outlook contacts over to SuSE 10.3, I exported 
everything as Vcards (.vcf) and then figured I would import them into 
KAddressBook. That works fine, except the preview pane shows "\r"s after most 
lines in sections. I tried stripping out the "\r"s, figuring it was an issue 
with windows VS Unix text files with a loop:

for i in *.vcf 
 do 
        tr -d '\105' < $i > out.$i; 
done

Which worked, but now none of them are valid Vcards. as best I can tell Vcards 
are required to have the cr/lf at the end of every field? but at the same 
time, KAddressBook does not expect them within fields. The part that makes it 
funnier is that if I open up a contact some fields have the same problem 
(like the notes field), but some don't (like the address preview). Also, the 
\r does not show up on the card preview. 

Has anyone else run into this? is there an easy fix? is a quick, easy, way fix 
my 100+ vcards so they import correctly? 

thanks,
-Jesse

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to