>----Messaggio originale----
>Da: p...@draigbrady.com
>Data: 01/03/2015 21.08
>A: "Beatrice Torracca"<beatri...@libero.it>, <779...@bugs.debian.org>, 
"Debian Bug Tracking System"<sub...@bugs.debian.org>
>Ogg: Re: Bug#779499: coreutils: split with -d option creates file names that 
jump from x89 to x9000
[skip]

>> I tried using split to divide a text file in chunks using the "-d"
>> option to have numeric suffixes. The results I got had the number of the
>> suffixes going from 00 to 89 then jumping to 9000 and going on 9001,
>> 9002, ....from there.
>> 
>> I tried with different prefixes. I don't think the input file has any
>> relevance, but just in case i was trying to split the file of the
>> translation in Italian of the Debian packages' description that I
>> downloaded from here
>> 
>> http://ftp.de.debian.org/debian/dists/sid/main/i18n/Translation-it.bz2
>
>See the explanation of the -d and -a options at:
>http://www.gnu.org/s/coreutils/split

Hi!

I read the explanation of the options you mention. Even with a file as big as 
to generate only 97 files I get this
x00
x01
...
x89
x9000
x9001
....
x9007

While it is true that with the option "-a 3" I get the expected results (....
x089, x090, ....) I still think it is not the normal behavior to jump from x89 
to x9000. x90 (and x91...x97) would be a perfectly good name with the same 
suffix lenght of all the other names (i.e. 2). 

Thanks for your reply,

beatrice


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to