Ashu
I can write the xml for you. But u have to refer the following web pages, then learn the fundas and start coding and post ur doubts here, then we will discuss.
www.xml.com and www.w3.org/xml
Siva
nsivas@usa.net
Thanks Jad, ur anwer is good, it works.
In Ksh also I completed in the following way:
total=23
m=1
n=1
while (( $total >= $m ))
do
cat $HOME/file1 | sed -n "$m"p >> file3
cat $HOME/file2 | sed -n "$n"p >> file3
(( m = $m + 1 ))
(( n = $n + 1 ))
done
Siva
For this Tony sent me a very usefull reply:
#!/bin/sh
cat /tmp/a | sed -n '1p' >> d
cat /tmp/b | sed -n '1p' >> d
where a, b and d are files
Please help me to convert this script in to the entire file.
Can I use looping logic?
Thanks
Siva
Hi
I want to join all the lines of two different files in order. ie.,1st line of the file1 will be joined to the first line of the file2 and second line of the file1 to second line of the file2 and vice versa, the ouput has to be moved to another file.
For this Tony sent me a very usefull...
I want to join all the lines of two different files in order. ie.,1st line of the file1 will be joined to the first line of the file2 and second line of the file1 to second line of the file2 and vice versa, the ouput has to be moved to another file.
Please help me in this.
Thanks
Siva
Thanks boebox, the answer works very well. Now how do I convert this script for the all the lines in the file? Can you please help on this
Regards
Siva
I want to join the each line of two files in order. ie.,1st line of the file1 will be joined to the first line of the file2 and vice versa, the ouput has to be moved to another file.
Please help me in this.
Thanks
Siva
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.