Unix/Linux Go Back    



Replacing first field of file2 with the second filed of file1 for matching cases

Shell Programming and Scripting




Kindly Note - This is a Single User Post by Forum Member Don Cragun Regarding:
Replacing first field of file2 with the second filed of file1 for matching cases.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 11-06-2014   -   Original Discussion by ailnilanjan
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 20 February 2018, 3:57 AM EST
Location: San Jose, CA, USA
Posts: 11,070
Thanks: 617
Thanked 3,859 Times in 3,302 Posts
You said you had two files named file1 and file2. The error messages you're seeing tell us that file1 and file2 are not present.

Did you change the names of your files? Did you decide to run this script in a directory other than the directory that contains your data files?