Subject: The split command does not accept anymore suffix with a length of 2.

From: Xuo <[email-masked]>
Date: Sun, 04 Dec 2011 09:03:36 +0100

Hi,

The split command does not accept anymore suffix with a length of 2 while it
was the default and still written as being so in the man page.

Version-Release number of selected component :
coreutils_8.8-2.mga1

How reproducible:
Always

Steps to Reproduce:

split -a 2 -b 10K /usr/bin/split split_
split: the suffix length needs to be at least 3

split -b 10K /usr/bin/split split_

This will create :

-rw-r--r-- 1 eric users     10240 déc.   3 20:12 split_aaa
-rw-r--r-- 1 eric users     10240 déc.   3 20:12 split_aab
-rw-r--r-- 1 eric users     10240 déc.   3 20:12 split_aac
-rw-r--r-- 1 eric users     10240 déc.   3 20:12 split_aad
-rw-r--r-- 1 eric users     10240 déc.   3 20:12 split_aae
-rw-r--r-- 1 eric users      7880 déc.   3 20:12 split_aaf

instead of :

split_aa
...
split_af

Take a 345Mb file :

-rw-r--r-- 1 eric users 344707084 déc.   3 17:42 Softs.tar.bz2.gpg

split -b 240M Softs.tar.bz2.gpg Softs.tar.bz2.gpg_

This will create : 

-rw-r--r-- 1 eric users 251658240 déc.   3 17:45 Softs.tar.bz2.gpg_aaaaaa
-rw-r--r-- 1 eric users  93048844 déc.   3 17:46 Softs.tar.bz2.gpg_aaaaab

Instead of Softs.tar.bz2.gpg_aa and Softs.tar.bz2.gpg_ab

Regards.

Xuo.