Search Results

Search: Posts Made By: uniqme
4,659
Posted By uniqme
cat f1.txt a 455 b 443 c 6655 d 554 ...
cat f1.txt

a 455
b 443
c 6655
d 554
e 6

$ cat f2.txt

a 56
b 5
x 678

awk '$0 !~ /#/{arr[$1]=arr[$1] " " $2}END{for(i in arr)print i,arr[i]}' f1.txt f2.txt

x 678
a 455 56
b ...
Showing results 1 to 1 of 1

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