1 example for csplit
# break the whole file in a specific pattern into several files with a prefix: out00, out01, out02,... csplit inputfile.txt -f out /searchstring/ {*}
# break the whole file in a specific pattern into several files with a prefix: out00, out01, out02,... csplit inputfile.txt -f out /searchstring/ {*}