Sorting lines in one file given the order in another file

前端 未结 2 1974
北海茫月
北海茫月 2021-02-09 02:46

Given a file1:

13 a b c d
5 f a c d
7 d c g a
14 a v s d

and a file2:

7 x
5 c
14 a
13 i

I would like to sort

2条回答
提交回复
热议问题