csplit(1)
π csplit(1) β bestie's guide to splitting files by vibes π
okay so this is csplit, straight out of the General Commands Manual, section 1, and it's part of uutils coreutils. she slices a file into little sections based on context lines. no cap, it's giving βοΈβ¨
πΈ NAME πΈ
csplit β split a file into sections determined by context lines π
β¨ SYNOPSIS β¨
csplit [-b|--suffix-format] [-f|--prefix] [-k|--keep-files]
[--suppress-matched] [-n|--digits] [-q|--quiet] [-z|--elide-empty-files]
[-h|--help] [-V|--version] <file> <pattern>
π DESCRIPTION π
Split a file into sections determined by context lines. that's the whole vibe. you give her a file and a pattern, she gives you sections. iconic. π
π¦ OPTIONS π¦
-b,--suffix-format<FORMAT>β use sprintfFORMATinstead of%02d. so if you want a different naming scheme for your lil files, this is your girl π«-f,--prefix<PREFIX>β usePREFIXinstead of'xx'. swap out that default prefix for something more you π«Ά-k,--keep-filesβ do not remove output files on errors. protective queen behavior, fr fr π‘οΈ--suppress-matchedβ suppress the lines matchingPATTERN. they simply don't make the cut, sorry not sorry π-n,--digits<DIGITS>β use specified number of digits instead of2. more digits = more main character energy π’-q,--quietβ do not print counts of output file sizes. she's shy today π€«-z,--elide-empty-filesβ remove empty output files. no empty vibes allowed here π-h,--helpβ Print help. always here for you π₯Ί-V,--versionβ Print version. the receipts π
π EXTRA π
Output pieces of FILE separated by PATTERN(s) to files 'xx00', 'xx01', ..., and output byte counts of each piece to standard output.
so like β she chops FILE up at every PATTERN, drops the pieces into 'xx00', 'xx01', and keeps going, and then tells you how many bytes each piece was. receipts included, periodt π
π VERSION π
v(uutils coreutils) 0.7.0
and that's the whole page bestie π csplit (uutils coreutils) 0.7.0, living her best life in the csplit(1) era β go forth and split responsibly, mwah ππ¦β¨
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms