csv.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1621 a91269720c48
child 1905 fba288d59662
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
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
.. include:: HEADER.rst
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
======
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 CSV.
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
======
a91269720c48 DBF to CSV.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
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