CSPLIT(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’– csplit, from the General Commands Manual (CSPLIT(1))

🌸 NAME

csplit β€” split a file into sections determined by context lines. That’s the whole assignment, bestie. πŸ’…

✨ SYNOPSIS

csplit [OPTION]... FILE PATTERN...

πŸ¦‹ DESCRIPTION

Split a file into sections determined by context lines. Okay so that’s the official vibe: file goes in, sections come out, context lines are the main character. Slay. ✨

πŸ’… OPTIONS πŸ’…

  • -b, --suffix-format <FORMAT> β€” use sprintf FORMAT instead of %02d. πŸŽ€
  • -f, --prefix <PREFIX> β€” use PREFIX instead of 'xx'. 🌸
  • -k, --keep-files β€” do not remove output files on errors. 🫢
  • --suppress-matched β€” suppress the lines matching PATTERN. πŸ™ˆ
  • -n, --digits <DIGITS> β€” use specified number of digits instead of 2. πŸ”’
  • -q, --quiet β€” do not print counts of output file sizes. 🀫
  • -z, --elide-empty-files β€” remove empty output files. 🧚
  • -h, --help β€” Print help. πŸ’–
  • -V, --version β€” Print version. πŸ‘‘

πŸŽ€ EXTRA πŸŽ€

Okay, extra tea: output pieces of FILE separated by PATTERN(s) to files xx00, xx01, ..., and output byte counts of each piece to standard output. 🫢

πŸ‘‘ VERSION πŸ‘‘

v(uutils coreutils) 0.12.0


πŸ’Œ xoxo bestie β€” this page is from v(uutils coreutils) 0.12.0, dated 2026-09-17. mwah πŸ’‹

πŸ“¦ where this page comes from