[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: csv read problem
From: |
Mike Miller |
Subject: |
Re: csv read problem |
Date: |
Thu, 18 Feb 2016 09:57:29 -0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Feb 18, 2016 at 12:38:30 -0500, Doug Stewart wrote:
> Looking at it with ghex shows that there is a 00 between every good byte
> of data.
>
> 49 00 64 00 50 00 72 00 6F 00 76 etc.
>
> If one was to read it in byte by byte and save every second byte to a new
> file , then I think it would work
Confirmed. I think this is a "best tool for the job" case. I would use
sed to clean up the file into a format appropriate for importing into
Octave.
sed 's/[\x0\xd]//g;s/,/./g;s/;/,/g' file > fixed.csv
--
mike
- csv read problem, margalja, 2016/02/18
- Re: csv read problem, Nicholas Jankowski, 2016/02/18
- Re: csv read problem, margalja, 2016/02/18
- Re: csv read problem, Doug Stewart, 2016/02/18
- Re: csv read problem, Nicholas Jankowski, 2016/02/18
- Re: csv read problem, Nicholas Jankowski, 2016/02/18
- Re: csv read problem, Doug Stewart, 2016/02/18
- Re: csv read problem,
Mike Miller <=
- Re: csv read problem, Doug Stewart, 2016/02/18
- Re: csv read problem, Dave Cottingham, 2016/02/18
- Re: csv read problem, Marco Atzeri, 2016/02/18