Search Results

Search: Posts Made By: i150371485
1,170
Posted By i150371485
Try This : awk...
Try This :


awk 'FNR==NR{for(i=1;i<=NF;i++) e[FNR,i]=$i;next}
{for(i=1;i<=NF;i++)

printf("%s%s",e[FNR,i]+e[FNR,i]*$i,i==NF?"\n":" ")
}' A B
1,121
Posted By i150371485
if the files are in sorted order please use comm...
if the files are in sorted order please use comm and diff commands . please go through the man page for more details.
1,794
Posted By i150371485
@itkamaraj : The code is working as expected.....
@itkamaraj : The code is working as expected.. Thanks once again :)

@elixir_sinari : Thanks for replying.. working as expected :) :)
Showing results 1 to 3 of 3

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