D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] regexp?



On Tuesday 14 May 2002 09:00, you wrote:
On Mon, May 13, 2002 at 07:52:21PM +0000, Adrian Midgley wrote:
File is a text file with some Ctrl D characters that appear as
separators in the middle of lines that have a textual qualifier
appended to the rubric of a Read Code (diagnostic or event code from
the national thesaurus).  In DOS they show as diamonds.  There are
also some IBM box-drawing characters.  Apart from that it seems to
be pure text.

so ...

the record separator is a newline (with a possible carriage return?)
CRLF
the field separator is a Ctrl-D
No.  No fields, just text written out.
The Ctrl-D is a graphics character. 

So, it's no more than a csv file with a different separator? Unless
the fields are fixed width, that is.

I'll look at Perl .dbf reading.

-- 
From one of the Linux desktops of Dr Adrian Midgley 
http://www.defoam.net/             

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly