按行数拆分文本文件,而不是大小


Answers:


0

使用busybox head和tail会有所帮助
https://frippery.org/busybox/

示例源,(您可以cat或键入或管道文件):
busybox seq 1 100

前50行:
busybox seq 1 100 | busybox head -50

最后50行:
busybox seq 1 100 | busybox tail -50

41 ST 到50 线路:
busybox seq 1 100 | busybox head -50 | busybox tail -10

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.