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

Re: dos2unix, recode and dbview



On Tue, 30 Sep 1997, Johann Spies wrote:

> I had an interesting experience while trying to read a Dos-dbf-file with
> dbview. 
> 
> I first tried 
> 
>   recode ibm-pc:l1 <dosfile> linuxfile 
> 
> and when I ran "dbview linuxfile" I got an error message:
> 
>   Version 226 not supported.
> 
> It worked well when I recoded the file using dos2unix.
> 
> Why the difference?  What does the error message mean?  Does it refer
> toe dbview or to the recoding process?

DBF is a binary file-format (well, at least its headers are binary, the 
field contents are actually stored in plain ascii). You probably have 
messed up the header with the recode stage. You shouldn't use recode on 
the whole file but actually only on the field-contents.

Maarten

_____________________________________________________________________________
|     Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: