Search Results

Search: Posts Made By: prashali
7,660
Posted By prashali
Thank you, it works! But it re-arranges the lines...
Thank you, it works! But it re-arranges the lines in file1.I'd like to keep the same order. Also, if there are multiple columns after column2( say column 3, column 4... column 8) in file1 that needs...
7,660
Posted By prashali
Hi! Thanks for the reply.It does not produce the...
Hi! Thanks for the reply.It does not produce the desired output, though.
What I end up with is duplicate column2 for the same column1, in file1.
For example, the o/p from the awk code gives: ...
7,660
Posted By prashali
Replace column that matches specific pattern, with column data from another file
Can anyone please help with this? I have 2 files as given below.
If 2nd column of file1 has pattern foo1@a, find the matching 1st column in file2 & replace 2nd column of file1 with file2's value.
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy