Re: split(1): auto-extend suffix length

2023-01-30 Thread Jan Schaumann
ignat...@cs.uni-bonn.de wrote: > hi, > > On Sun, Jan 29, 2023 at 05:45:15PM -0500, Jan Schaumann wrote: > > > +* sfxlen by one, thereby yielding an additional two characters > > +* and allowing all output files to sort such that 'cat *' yields > > +* the input in order. I.e., the ord

Re: split(1): auto-extend suffix length

2023-01-30 Thread ignatios
hi, On Sun, Jan 29, 2023 at 05:45:15PM -0500, Jan Schaumann wrote: > + * sfxlen by one, thereby yielding an additional two characters > + * and allowing all output files to sort such that 'cat *' yields > + * the input in order. I.e., the order is '... xyy xyz xzaaa This recipe t

split(1): auto-extend suffix length

2023-01-29 Thread Jan Schaumann
Hello, When running split(1) such that it would require more files than the default suffix-length would allow, it currently errors out with 'too many files'. For example, if I have a file with 1 million lines and run split file then split(1) will generate 676 files 'xaa' through 'xzz' and then