$ sudo awk 'NR%2==1{close(p".txt");++p}{print > p".txt"}' test.txt $ sudo split -d -l 2 test.txt new 相关文章: 2021-11-21 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2021-12-09 2021-10-02