Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

turning a file into a table

Is there anyway that I can take a raw file and spit it out on an HTML page.  ie. I want it to have headings for each field.  

CODE        DATE    MAKER    CHECKER   COMMENTS
Evaap16481  981105  billy    rsmith    shutdown
Evaap16557  981110  tonym    phild     n/a
Evaap16563  981124  larryf   rsmith    can't add secondary


That is what I want the output to look like. The headings are not part of the file.
0
clearcase
Asked:
clearcase
1 Solution
 
martinagCommented:
How do you specify the format (how do you know the headings, where do columns start and end?

Martin
0
 
saijCommented:
Perhaps you could give us an example of the file - a few records....
0
 
clearcaseAuthor Commented:
Edited text of question
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
clearcaseAuthor Commented:
Adjusted points to 100
0
 
b2piCommented:
Always check CPAN first....

Take a look at

http://perl.com/cgi-bin/cpan_mod?module=Data::ShowTable

which will absolutely _not_ do your dishes.
0
 
spreqCommented:
describe the format of your file... ascii plain text??
like this one?:
 
Evaap16481|981105|billy|rsmith|shutdown
Evaap16557|981110|tonym|phild|n/a
Evaap16563|981124|larryf|rsmith|can't add secondary
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now