in reply to Content of one file to another file if a filed matches

You may try with below hint,
1. Read the first file line by line and keep the Alphabet (A) and its +rest of the values(Rahul 30 27) in a hash with key/pair value. 2. Read the second file line by line and split the Alphabet and its va +lue. 3. Check if the alphabet in step 2 is available in hash formed in step + 1. If yes, print the hash key, value and second file value in new fil +e (third file).

Replies are listed 'Best First'.
Re^2: Content of one file to another file if a filed matches
by sm81 (Initiate) on Mar 09, 2017 at 13:34 UTC
    Thanks.. let me try ..