Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nsivas

    Data Base connection

    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
  2. nsivas

    Joining lines from two different file (in order) Unix Ksh

    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
  3. nsivas

    join lines from two files - Unix ksh

    The script is completed: 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 + 3 )) done Thanks Tik-tips Siva
  4. nsivas

    join lines from two files - Unix ksh

    Thanks Tony, the task completed. 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 + 3 )) done Siva
  5. nsivas

    join lines from two files - Unix ksh

    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
  6. nsivas

    Joining lines from two different file (in order) Unix Ksh

    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...
  7. nsivas

    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.

    #!/bin/ksh cat /tmp/a | sed -n '1p' >> d cat /tmp/b | sed -n '1p' >> d where a, b and d are files Hope this helps Tony
  8. nsivas

    join lines from two files - Unix ksh

    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
  9. nsivas

    join lines from two files - Unix ksh

    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
  10. nsivas

    join lines from two files - Unix ksh

    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

Part and Inventory Search

Back
Top