split(1)

πŸ“¦
version 0.7.0 Β· 3 versions
, in epel 10, fedora 43, fedora 44

✨ NAME ✨

split β€” bestie, it makes output files that hold consecutive or interleaved sections of input πŸ’–


🌸 SYNOPSIS 🌸

split [-b|--bytes] [-C|--line-bytes] [-l|--lines] [-n|--number]
[--additional-suffix] [--filter] [-e|--elide-empty-files] [-d ]
[--numeric-suffixes] [-x ] [--hex-suffixes] [-a|--suffix-length]
[--verbose] [-t|--separator] [-h|--help] [-V|--version] [input] [prefix]

πŸŽ€ DESCRIPTION πŸŽ€

Create output files containing consecutive or interleaved sections of input. That's the whole job, and she does it flawlessly. πŸ’…


πŸ’… OPTIONS πŸ’…

okay so here's the full menu, no skips, no skimming, every single one, fr fr:

  • -b, --bytes <SIZE> β€” put SIZE bytes per output file πŸ“¦
  • -C, --line-bytes <SIZE> β€” put at most SIZE bytes of lines per output file (so like, it won't split a line in half, respectful queen 🫢)
  • -l, --lines <NUMBER> β€” put NUMBER lines/records per output file [default: 1000]
  • -n, --number <CHUNKS> β€” generate CHUNKS output files; the explanation is down below, keep reading bestie πŸ‘€
  • --additional-suffix <SUFFIX> β€” additional SUFFIX to append to output file names [default: (empty)]
  • --filter <COMMAND> β€” write to shell COMMAND; file name is $FILE (Currently not implemented for Windows ⚠️)
  • -e, --elide-empty-files β€” do not generate empty output files with -n (no ghost files, we don't do that here πŸ™ˆ)
  • -d β€” use numeric suffixes starting at 0, not alphabetic πŸ”’
  • --numeric-suffixes[=<FROM>] β€” same as -d, but allow setting the start value
  • -x β€” use hex suffixes starting at 0, not alphabetic 🌈
  • --hex-suffixes[=<FROM>] β€” same as -x, but allow setting the start value
  • -a, --suffix-length <N> β€” generate suffixes of length N (default 2)
  • --verbose β€” print a diagnostic just before each output file is opened πŸ—£οΈ
  • -t, --separator <SEP> β€” use SEP instead of newline as the record separator; '\0' (zero) specifies the NUL character
  • -h, --help β€” Print help πŸ†˜
  • -V, --version β€” Print version
  • [input] [default: -]
  • [prefix] [default: x]

πŸ¦‹ EXTRA πŸ¦‹

Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000, and default PREFIX is x. With no INPUT, or when INPUT is -, read standard input. (Yes, that dash is main character energy. She reads stdin. Periodt. πŸ‘‘)

The SIZE argument is an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on. 🧚

CHUNKS may be:**

  • N β€” split into N files based on size of input
  • K/N β€” output Kth of N to stdout
  • l/N β€” split into N files without splitting lines/records
  • l/K/N β€” output Kth of N to stdout without splitting lines/records
  • r/N β€” like l but use round robin distribution 🎠
  • r/K/N β€” likewise but only output Kth of N to stdout

⭐ VERSION ⭐

v(uutils coreutils) 0.7.0


okay that's the whole page bestie, you ate it, go split something πŸ’–

this iconic lil manual is from split (uutils coreutils) 0.7.0 β€” the General Commands Manual crew, mwah, no cap 🌸🫢✨

πŸ“¦ 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