part of a good job is to choose the right tool.use perl for this kind of task. use vim to edit the perl script ;-) and search cpan before creating your own solutions!
/martin
begin:vcard fn:Martin Kraegeloh n:Kraegeloh;Martin adr:;;Am Alten Pfarrhof 24;Oberbergkirchen;;84564;Germany email;internet:[EMAIL PROTECTED] tel;work:+49 8637 985806 tel;cell:+49 160 98943453 x-mozilla-html:FALSE version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature