csv.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Oct 2015 18:29:10 +0300
changeset 1765 2132765de2f4
parent 1621 a91269720c48
child 1905 fba288d59662
permissions -rw-r--r--
Cellular automaton.
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