On Fri, 4 Nov 2011, Ignacio Diaz-Emparanza wrote:
This is not a very urgent problem, but it seems there is not a way
to
open/import a .csv file where numbers are with decimal points and
separated by spaces using gretlcli.
Hmm, can you elaborate? This works fine here.
<shell>
waverley:~$ cat test.csv
y x
1.2 3.4
1.3 4.5
1.4 5.6
waverley:~$ cat opencsv.inp
open test.csv -q
print -o
waverley:~$ gretlcli -b opencsv.inp
gretl version 1.9.6cvs
Copyright [...]
Current session: 2011-11-04 11:07
? run opencsv.inp
/home/cottrell/opencsv.inp
? open test.csv --quiet
? print --byobs
y x
1 1.2 3.4
2 1.3 4.5
3 1.4 5.6
waverley:~$ LANG=es_ES.UTF8 gretlcli -b opencsv.inp
gretl versión 1.9.6cvs
copyright [...]
Sesión actual: 2011-11-04 11:08
? run opencsv.inp
/home/cottrell/opencsv.inp
? open test.csv --quiet
? print --byobs
y x
1 1,2 3,4
2 1,3 4,5
3 1,4 5,6
</shell>
Allin