csv.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1621 a91269720c48
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.
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