On Tue, Feb 14, 2023 at 17:31:36 +0100, Martin Husemann wrote: > 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.
I dislike this idea too. > How about instead adding an option that sets the first name explicitly > and keeps the "abort on failure" behaviour? gnu coreutils split(1) has --numeric-suffixes[=FROM] and --hex-suffixes[=FROM] May be --text-suffixes=FROM might fit this pattern though to me these extensions don't seem too elegant and is stretching the original past its breaking point. -uwe