I need to get 2 fields out of a file which has the following format:
#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value to put with data[newline]
[tab]EXTRA=several fields to ignore...
[NEWLINE]
#NEXTFIELD
[tab]NAME ...
I have thought of a couple ways I *could* do it, but I
Message-
From: Matt Simonsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 7:01 PM
To: [EMAIL PROTECTED]
Subject: Parse data file
I need to get 2 fields out of a file which has the following format:
#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value
Matt Simonsen wrote at Tue, 01 Oct 2002 01:00:41 +0200:
I need to get 2 fields out of a file which has the following format:
#FIELD
[tab]NAME=name to put into hash[newline]
[tab]DATALINE=value to put with data[newline]
[tab]EXTRA=several fields to ignore...
On Tue, 2002-10-01 at 05:34, Janek Schleicher wrote:
Matt Simonsen wrote at Tue, 01 Oct 2002 01:00:41 +0200:
I need to get 2 fields out of a file which has the following format:
I put a real clip below ... should be more helpful.
What is the exact data you want to separate.
I have an
Hi,
I am trying to parse data in my data file. Every record start with the
1 string and end's with 2.In between the data is separated by
delimiter | . I want to parse this file and get the record in one
variable and do some processing and than move for another record in file.
To,