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
#!/bin/sh
echo "Hello" | mail lakris@somedomain.com
or to use output from a program
#!/bin/sh
df | mail lakris@somedomain.com
Check the man page for mail and the shell You are using. More info about Your problem would be helpful.
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