【发布时间】:2016-07-31 19:26:49
【问题描述】:
我有两个文本文件。
文件 A.txt:
john
peter
mary
alex
cloey
文件 B.txt
peter does something
cloey looks at him
franz is the new here
mary sleeps
我愿意
- 合并两者
- 根据另一个文件对一个文件进行排序
- 将 B 的未知行放在末尾li>
像这样:
john
peter does something
mary sleeps
alex
cloey looks at him
franz is the new here
【问题讨论】:
-
你试过什么?
标签: linux sorting vim text awk