csv.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 02 Nov 2016 11:52:04 +0200
changeset 2047 f230927969f5
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Remove dead link and add new one.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1621
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
======
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
 CSV.
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
======
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1621
diff changeset
     7
   :local:
1621
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
DBF to CSV.
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
===========
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
::
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  $ sudo aptitude install libdbd-xbase-perl
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  $ dbf_dump --fs="=" BSPR.DBF > BSPR.csv
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
Seems that ``dbf_dump`` can't quote fields, so use rare char as separator!
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17