CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
I need Perl script to read a file and re-organize data

 



bmehta
New User

Oct 26, 2005, 7:34 AM

Post #1 of 1 (1047 views)
I need Perl script to read a file and re-organize data Can't Post

I have a text file (see input.txt) with data



output file (output.txt)

In short



1. each of F30, F311, F312 AND F32 fields should be in one line and each must be 100 bytes. (if not right pad with blank or null)

2. If No F312 is present then add 100 null values

Thanks for any help on this

Bmehta
Attachments: input.txt (0.79 KB)
  output.txt (1.02 KB)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives