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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10214 in the body.
You can then email your comments to 10214 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#10214; Package coreutils. (Sun, 04 Dec 2011 18:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xuo <xuoy <at> free.fr>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 04 Dec 2011 18:46:01 GMT) Full text and rfc822 format available.

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.





Information forwarded to bug-coreutils <at> gnu.org:
bug#10214; Package coreutils. (Mon, 05 Dec 2011 22:39:01 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Xuo <xuoy <at> free.fr>
Cc: 10214 <at> debbugs.gnu.org
Subject: Re: bug#10214: The split command does not accept anymore suffix with
	a length of 2.
Date: Mon, 05 Dec 2011 22:37:31 +0000
forcemerge 7759 10214

On 12/04/2011 08:03 AM, Xuo wrote:
> 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

That's my fault, caused by an incorrectly merged local git branch,
and a surprising lack of tests in that area.
You were unfortunate enough to use a release that was the latest for just 2 weeks.
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=44dbcae6

cheers,
Pádraig.




Forcibly Merged 7759 10214. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 05 Dec 2011 22:57:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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