Dear all,
I trying to write the shell script , which will take variables
from a 3 different files , and display all at once on one line.
Example :--
======
I have following 3 files , which contain data in following order
1) /tmp/name
2) /tmp/age
3) /tmp/country
[EMAIL PROTECTED] ~]# cat /tmp/name
"sachin"
"lara"
"rahul"
[EMAIL PROTECTED] ~]# cat /tmp/age
"35"
"38"
"32"
[EMAIL PROTECTED] ~]# cat /tmp/country
"India"
"Westindies"
"India"
Now I want the output as follows :--
"sachin","India","35"
"lara","Westindies","38"
"raul","India","32"
That means i want to put variable from this 3 file and want to
just echo on screen.At present i am only able to get variable from one file
only by "for i in " loop
How do i get the above output ? which loop and which command
should i use in this case ? plz help and guide me
Thanks Regards
Jayesh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]