![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not able to send email as CC to a ID using Mailx command in HP UX | rohit.shetty84 | UNIX for Dummies Questions & Answers | 1 | 05-14-2008 04:27 AM |
| how to read the data from an excel sheet and use those data as variable in the unix c | Anne Grace | UNIX for Advanced & Expert Users | 1 | 03-03-2008 07:21 AM |
| Creating Excel Sheet in Hp-UX | KVSPRASAD | HP-UX | 5 | 02-07-2007 11:16 PM |
| Insert csv into special sheet of excel | Elena | UNIX for Advanced & Expert Users | 2 | 02-07-2007 08:11 AM |
| using mailx to send a log file to my outlook e-mail account | simt | UNIX for Dummies Questions & Answers | 6 | 09-01-2004 12:25 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to convert the data into excel sheet and send mail using 'mailx' command
Hi all
I have a shell script that uses a stored proc to generate output from some tables and send the same in an e-mail using mailx command. Now I need to convert the output to excel format and send e-mail. How can I achieve this. Please help me in this regard, as it's very urgent and I have been scratching my head on this for almost 5 days. ![]() Thanks Sanbabu |
|
||||
|
Hi Joeyg
Thanks for the reply but the stored proc is not generating any file, it's just a report that is directly mailed using mailx command. I want to create an excel file with that output and mail the same using mailx command. any thoughts on this thanks sanbabu |
|
||||
|
Quote:
And, as long as you're simulating DNA, can you figure out how to give me a third arm? I'd really like a hand I could dedicate full-time to mousing. Right now, it offends me to have to move my hand from the keyboard to the mouse... |
|
||||
|
right now it's like this
from: bab@gsl.com to: tew@gsl.com subject: policy status report for 10392 coverage date last name first name XXXXXXXXX XXXXXXXX XXXXXXXXXXXXX I want the output completely exported to an excel and send the same thru an attachement. thanks sanbabu |
|
||||
|
Quote:
Code:
awk '{print $1","$2","$3}' data.file >> datafile.csv
I'd suggest running the file through that and seeing if that gives you what you need. A little of the actual file might help in order to account for any gotchas-- spaces used inside fields, etc. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|