![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to forward mail in /var/mail/username to external mail | unitipon | SUN Solaris | 2 | 05-26-2008 09:20 PM |
| how to merge these two files? | fedora | Shell Programming and Scripting | 3 | 02-12-2008 02:45 PM |
| use of sed over cat to merge files | miwinter | UNIX for Advanced & Expert Users | 2 | 11-28-2007 09:36 AM |
| How to merge files | lestat_ecuador | Shell Programming and Scripting | 3 | 06-07-2007 03:45 AM |
| Cut and Merge | tushar_johri | UNIX for Dummies Questions & Answers | 2 | 07-05-2005 04:57 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
mail merge
dear friends
plese give me full shell script for mail merge facilityu. i.e. to create a letter file i.e to create data file and report maile merge using shell scripitng. when run the programme ask for fields and store in a file and from another program when run that mail merge file and store in a separate file advance thanks |
| Forum Sponsor | ||
|
|
|
|||
|
Hello,
can You please tell us if You have done anything so far? I think Your question is unclear. Maybe an example could make Your problem easier to approach. What do You mean by data file? What kind of data? If You have a mail program such as mail or mailx installed, it is easy to have it send files or output from another program to someone else. From within a shell script. The easiest example would be Code:
#!/bin/sh echo "Hello" | mail lakris@somedomain.com Code:
#!/bin/sh df | mail lakris@somedomain.com /Lakris |
|
|||
|
mail merge
dear friend i have to maintain / send call letter for employment or i have to give some disclinary letters ......and so on
1st data file sno name staffno desg ........(fields) 1 rama 12345 driver 2 ramana 12346 shramik 2nd common letter to sri (here name field data) desg (here desg filed data staffno (here staffno filed data) (here common letter f saj fksdj kfs fjs f jsfs0) fjsa fksja fkjsd fklsdj kf sd dlsj fjsdjf jsd fklsad sd/x supervisor 3 rd report file merging of above filed datas at respective places with common letter with page break of each individual letter . and the above entire process with shell programe . ex: 1st letter will be to rama, driver, 12345, jkf sakj dfjkds fklsdj lkfslk fsdfs sd/xx supervisor kindly do the need ful. urs faithfully, cvvsnm |