On 17/08/2020 10:16, Roberto Reale wrote:
Hello,

I wrote a small patch in order for csplit(1) to start generating
output files at the given offset instead of counting from 0.

E.g.,

     csplit -o 1 -sz -n 2 ...

will generate files

     xx01
     xx02
     ...

Thank you for your time and attention,
Roberto Reale


I agree that this is useful enough to add.
Could you look at creating a test?
I'm thinking that --suffix-offset may be more descriptive.
I immediately start thinking of file offsets when splitting.
It's probably best just to have the --long-option,
and don't have an equivalent short option.

thanks!
Pádraig

Reply via email to