CSPLIT(1) CSPLIT(1) csplit - split a file into sections determined by context lines csplit []... ... ,,xx00", ,,xx01", ..., . - . -b, --suffix-format= ,,sprintf" %02d -f, --prefix= ,,xx" -k, --keep-files --suppress-matched -n, --digits= 2 -s, --quiet, --silent -z, --elide-empty-files suppress empty output files --help --version : /REGEXP/[] %REGEXP%[] , { } {*} A line OFFSET is an integer optionally preceded by '+' or '-' . coreutils: Copyright (C) 2024 Free Software Foundation, Inc. 3+: 3 . : . , . ,,info '(coreutils) csplit invocation'" ; 3 . . , - TODO <>. coreutils 9.5 2024 CSPLIT(1)