pub fn csplit_from_path( path: &str, patterns: &[Pattern], config: &CsplitConfig, ) -> Result<Vec<u64>, String>
Split a file by reading from a path or stdin (“-”).