According to the man page:
-b, --bytes=SIZE
put SIZE bytes per output file
-C, --line-bytes=SIZE
put at most SIZE bytes of lines per output file
So if -b
already splits a file by bytes per file, what is the purpose of -C
? How is it any different?
-C
is like: "Give me complete lines, but do not exceed SIZE", and-b
is like: "I want exactly SIZE unless there isn't anything left". Is that right? – Jeff Reeves Feb 02 '18 at 00:21