Import CSV into Org-mode properties

Posted by lecodesportif on Stack Overflow See other posts from Stack Overflow or by lecodesportif
Published on 2010-04-06T00:24:41Z Indexed on 2010/04/06 0:33 UTC
Read the original article Hit count: 387

Filed under:
|
|
|

I would like to import a CSV into Org-mode. Others have already asked about importing CSV to Org-mode tables. That's not what I am trying to do. I need to import CSV to Org-mode properties.

For example, a CSV like this:

Name,Tel,Mobile,Fax
John,11111,22222,33333

should become:

:PROPERTIES:
:Name: John
:Tel: 11111
:Mobile: 22222
:Fax: 33333
:END:

Do you happen to know a painless way to do it?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about csv