GNU bug report logs - #10214
The split command does not accept anymore suffix with a length of 2.

Previous Next

Package: coreutils;

Reported by: Xuo <xuoy <at> free.fr>

Date: Sun, 4 Dec 2011 18:46:01 UTC

Severity: normal

Merged with 7759

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xuo <xuoy <at> free.fr>
To: bug-coreutils <at> gnu.org
Subject: The split command does not accept anymore suffix with a length of 2.
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.





This bug report was last modified 13 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.