Linux常用命令-csplit
命令
csplit
描述
split a file into sections determined by context lines
分割文件
用法
1 | csplit [OPTION]... FILE PATTERN... |
选项
1 | Options: |
注意
无
示例
1 | # 以第2行作为分界点将文件a分割成两份,其中第2行位于xx01文件中,显示的两个数字表示两个分割文件的大小 |
csplit
split a file into sections determined by context lines
分割文件
1 | csplit [OPTION]... FILE PATTERN... |
1 | Options: |
无
1 | # 以第2行作为分界点将文件a分割成两份,其中第2行位于xx01文件中,显示的两个数字表示两个分割文件的大小 |