我有2个文件...
1.txt
quality@true.com:29d03982uj409382uj4e3nm432323209
2.txt
29d03982uj409382uj4e3nm432323209:false
output.txt
quality@true.com:false
答案 0 :(得分:1)
join -t ":" -1 2 -2 1 1.txt 2.txt -o 1.1,2.2
输出:
quality@true.com:false
看看man join
。