Computing.Net > Forums > Programming > How to create xls file using shell

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to create xls file using shell

Reply to Message Icon

Name: raghu.iv85
Date: April 5, 2009 at 23:38:23 Pacific
OS: HP-UX
Subcategory: General
Comment:

Hi All,


I want to create an xls file using shell script. I mean that I have written one script. It is having sql output. So I want to save that sql output into one xls file and I want to send that file as a attachment to my team MAIL_IDs.

Can You any guy help me in this?

Thanks in Advance.

Regards,
Raghu.

Raghunadh



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: April 6, 2009 at 03:28:16 Pacific
Reply:

You could make a simple comma separated value (.csv) file. It should open in Excel without problem.


0

Response Number 2
Name: raghu.iv85
Date: April 6, 2009 at 04:29:13 Pacific
Reply:

Hi Razor,

Thank you very much for ur solution.

I create the output file with (.csv) extension. Good idea..

Can you tell me how to send this file to our team as attachment mail. I used the below command but I am not getting the mail with attachment. I am getting the mail with some junk characters.

(uuencode attach.txt attach.txt ; echo "mail_body")|mailx -m -s "subject" ragu@gmail.com

Can anyone give me any idea in this?

Thanks in advance.

Regards,
Raghu.

Raghunadh


0

Response Number 3
Name: Razor2.3
Date: April 6, 2009 at 04:40:18 Pacific
Reply:

Can you tell me how to send this file to our team as attachment mail.
Nope. I deal mainly with Windows, not Unix. There are a few people here who might be able to help, but I wouldn't count on them reading a thread referencing Excel.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to create xls file using shell

how to create batch file www.computing.net/answers/programming/how-to-create-batch-file/17467.html

How to compare 2 files using awk? www.computing.net/answers/programming/how-to-compare-2-files-using-awk/15598.html

How to create a text file using FSO www.computing.net/answers/programming/how-to-create-a-text-file-using-fso/10319.html