根据内容拆分.txt文件

Gre*_*orn 3 bash awk sed

我有一个巨大的*.txt文件如下:

~~~~~~~~ small file content 1 <br>
~~~~~~~~ small file content 2 <br>
...
~~~~~~~~ small file content n <br>
Run Code Online (Sandbox Code Playgroud)

我如何将其拆分为n个文件,最好是通过bash

Fre*_*ihl 13

使用 csplit

$ csplit --help
Usage: csplit [OPTION]... FILE PATTERN...
Output pieces of FILE separated by PATTERN(s) to files `xx00', `xx01', ...,
and output byte counts of each piece to standard output.
Run Code Online (Sandbox Code Playgroud)