Page 1 of 1

split command uses prefix of 6 characters

PostPosted: Nov 6th, '11, 15:46
by xuo
Hi,

There is a change in the split command. Now, it uses a prefix with 6 characters.
Ex :
split myBigFile -b 240M myBigFile_
myBigFile_aaaaaa
myBigFile_aaaaab

instead of the previous behavior :
myBigFile_aa
myBigFile_ab

If I try to use 2 characters max :

split myBigFile -a 2 -b 240M myBigFile_
I get :
split: the suffix length needs to be at least 6

man split
...
-a, --suffix-length=N
use suffixes of length N (default 2)
...

How to report this (small) bug ?

Regards.

Xuo.

Re: split command uses prefix of 6 characters

PostPosted: Nov 6th, '11, 23:06
by doktor5000
Why is this a bug?

Also there has been no update to coreutils since Mageia 1 release.