If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Perl Script  XML
Forum Index » Support Forum
Author Message
SJBourke
Newbie

Joined: 14/10/2004 00:57:24
Messages: 1
Offline

I have the following text file that I want to format into a comma delimited file using a perl script.
01981440 XNDDYW 03.00
01977694 XCQHSF 04.00
01977694 XCQIQJ 3.30
01980711 XNDDYW 04.00
01985201 XNDDYW 01.30
01979535 XCQIQJ 4.00
01979535 XCQJU9 02.00
01979535 XCQHSF 04.00
01975831 XCQIQJ 3.30
01975831 XCQEQL 2.30
01975831 XCQIQJ 4.00
01977192 XCQIQJ 4.00
01977192 XCQHSF 03.00
01979278 XCQHSF 01.00
01979278 XCQIQJ 01.00
01975585 XNDDYW
01977506 XCQHSF 03.00
01975006 XNDDYW 01.00
I want to format it in the following way but am having problems
Can anyone help me with a simple per script to do this.
Basically a spreadsheet format.

XNDDYW XCQHSF XCQIQJ XCQJU9 XCQEQL
01981440 3.00
01977694 4.00 3.30
01980711 4.00
01985201 1.30
01979535 4.00 4.00 02.00
01975831 7.30 2.30
01977192 3.00 4.00
01979278 1.00 1.00
01977506 3.00
01975006 1.00

Help
Steve
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I could do it in PHP but I don't know Perl I'm afraid.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum