pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems importing csv files


From: Friedrich Beckmann
Subject: Re: problems importing csv files
Date: Sun, 2 Nov 2014 10:26:58 +0100

Hi Ben,

you can do this second step also by hand with the editor „vi"

> b) Only use the lines which start with „Teilnehmer“. That are the lines which 
> contain the variable data. You must delete the 
> variable descriptions because the descriptions have a different character 
> encoding. 
> 
> grep '^Teilnehmer' a.csv > b.csv
> 

a) open the file a.csv with vi 

vi a.csv

b) delete lines by typing „dd“ until you see „Teilnehmer“ at the beginning of 
the line

c) save the file and close vi by typing

ESC :wq

d) check the result with

less a.csv







reply via email to

[Prev in Thread] Current Thread [Next in Thread]