![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to generate html file using script? | kittusri9 | Shell Programming and Scripting | 2 | 05-25-2008 11:38 PM |
| To generate the FTP Script file | konankir | Shell Programming and Scripting | 1 | 04-01-2008 03:16 PM |
| generate new string from a text file | walterwaston | Shell Programming and Scripting | 6 | 10-16-2007 03:43 PM |
| text file to excel or csv | srikanthus2002 | Shell Programming and Scripting | 9 | 04-25-2007 12:53 PM |
| Modify script to generate a log file | heprox | Shell Programming and Scripting | 2 | 06-14-2006 10:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Script to generate text file from excel file
Hello,
I have a excel file which has almost ten columns on the shared drive. I have to write a shell script to ftp that daily to unix server and then extract some columns from there and generate oracle standard text file. The columns should be in proper order and aligned properly, otherwise the oracle process is not going to read that file. Example excel file 1 2 3 4 1st record sg_jtfTaskCreateBd.jsp jtf /jtf/11.5.0/html jtfTaskCreateBd.jsp 2nd record OppPurchaseLinesDesc.class java java/oracle/apps/asf/opportunity OppPurchaseLinesDesc.class I have to extract these columns and generate the text file with six columns with proper alignment. Example jtf /jtf/11.50/html jtfTaskCreateBd.jsp jtf /jtf/11.50/html jtfTaskCreateBd.jsp The text here is not coming on one line...But, it should be the three columns and the three columns gets repated again. Does somebody have a sample code snippet or any ideas on how this can be done? I would really appreciate that... Thanks, Inder |
|
||||
|
Here is a link to Active State web site that has examples of how you can extract cells from an Excel spreadsheet.
ActivePerl 5.8 - Online Docs : Using OLE with Perl This is a windows solution and you would have to use Active State perl. I believe if you do a search of this forum you should find other solutions that will work with unix and/or linux. Good luck. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|