Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Posts
    7

    Talking Unanswered: How to merge 2 file ?

    Hi all,

    Can some1 help me to to write a little script that merge line by line from 2 file.
    Eg. File A contain line 1 - 123
    line 2 - 456
    line 3 - 789
    File B contain line 1 - abc
    line 2 - def
    line 3 - ghi

    I want the merge file contain line 1 - 123abc
    line 2 - 456def
    line 3 - 789ghi

    All help r welcome.

    Cheers

  2. #2
    Join Date
    Sep 2003
    Posts
    71
    If both files have equal nos of entries, then use

    paste fileA fileB > fileNew

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •