bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10214: The split command does not accept anymore suffix with a lengt


From: Xuo
Subject: bug#10214: The split command does not accept anymore suffix with a length of 2.
Date: Sun, 04 Dec 2011 09:03:36 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111105 Thunderbird/8.0

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]