On Sun, Feb 12, 2023 at 04:05:20PM -0500, Jan Schaumann wrote: > The attached diff adds a flag "-c" (mnemonic "create, > don't overwrite" or "continue where you left off"): > > $ split file; ls > xaa xab xac xad > $ split -c second-file; ls > xaa xab xac xad xae xaf xag xah xai xaj
I think this is a dangerous and non-obvious user interface, especially when we hit collisions later or data changes and we are re-doing the split. How about instead adding an option that sets the first name explicitly and keeps the "abort on failure" behaviour? Besides, isn't your intended behaviour easily done with: $ cat file second-file | split ? Martin