aix shell script to convert 5 csv files to single excelsheet
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
how to do aix script to convert my 5 csv output to single excel file with 5 sheets.
please help me on this
We'll be glad to help you...post what you've written so far, and where you're stuck. But we're not going to write a script for you. You also need to post some examples of your data.
AIX is generally ksh by default and does not have bash out of the box, but there are bash packages that can be installed. I usually stick to borne sh when I script on AIX.
I agree with TB0ne, a better language than a shell script would be necessary to write to an excel spreadsheet.
in open office just import the data from within excel
but there is a 65535 line limit ( i think ? it might have been upped to 163840 )
i used to use excel to convert a flat DEM ( digital elevation model ) that was converted to a CSV format into a 3d ".obj" model for blender
i now use a perl script
there is a handy tool in libreoffice/openoffice/ and MS office to import a csv into a spreed sheet
select a cell
then from the "insert" option on the menu select
" sheet from file"
open the CSV and in the window make sure that comma is use to delineate
then depending on the digits ( i use 32 bit float so they can be LONG ) auto adjust the cell width
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.