linux 按行分割文件2023-08-10 17:48:22$ sudo awk 'NR%2==1{close(p".txt");++p}{print > p".txt"}' test.txt $ sudo split -d -l 2 test.txt new上一篇:Spring 3 整合Apache CXF WebService[转]下一篇:[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist