From unknown Tue Aug 19 02:52:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6216 <6216@debbugs.gnu.org> To: bug#6216 <6216@debbugs.gnu.org> Subject: Status: Feature request: Split -p Reply-To: bug#6216 <6216@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:52:34 +0000 retitle 6216 Feature request: Split -p reassign 6216 coreutils submitter 6216 Rich Jones severity 6216 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 16:49:51 2010 Received: (at submit) by debbugs.gnu.org; 18 May 2010 20:49:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OETja-0003dv-91 for submit@debbugs.gnu.org; Tue, 18 May 2010 16:49:50 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OETcd-0003aM-HY for submit@debbugs.gnu.org; Tue, 18 May 2010 16:43:18 -0400 Received: from lists.gnu.org ([199.232.76.165]:46840) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OETc9-00068F-Am for submit@debbugs.gnu.org; Tue, 18 May 2010 16:42:09 -0400 Received: from [140.186.70.92] (port=41026 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OETbr-00019t-GM for bug-coreutils@gnu.org; Tue, 18 May 2010 16:42:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OETaM-0005he-UG for bug-coreutils@gnu.org; Tue, 18 May 2010 16:40:20 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:47771) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OETaM-0005hM-R3 for bug-coreutils@gnu.org; Tue, 18 May 2010 16:40:18 -0400 Received: by iwn39 with SMTP id 39so1398910iwn.0 for ; Tue, 18 May 2010 13:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=Pq+Z3CaDnmZvRFXGOfBCnLdBLGBRefZyvX4nZqPXDmA=; b=n+XFuBgzuk/pd/V90k6e6mgf/jg3akvmfwa+C5Yrx9MUjQel8bhe62D7IRhOZdI1Gh HVqsUPVlXsr2cIfitKFNpw2Pv1bD9Glxv8oPIMtN0VAvPqNjkRvZIssmeCj4Zu4iCfvw XwJYTbpoY/3perrBDKDAywcy9Km3dGazeOsL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Qj/GVudM7wCR16DnGnob/ldjj7Mo17MunzdCkeqbGc5c0enhL/nZvXhRnNfEoy+Kv/ R8Q/HQWQYX0muoaCLZaB38OSrz8qTfw0PSOKafHL+wMxWVSQM0bn/0yu/e909aMq090n DCd2t6pB/TOsM6FN9M+5PhzB9YLWZ6Vp/mI3c= Received: by 10.231.185.86 with SMTP id cn22mr2278093ibb.69.1274215215859; Tue, 18 May 2010 13:40:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.190.201 with HTTP; Tue, 18 May 2010 13:02:14 -0700 (PDT) From: Rich Jones Date: Tue, 18 May 2010 16:02:14 -0400 Message-ID: Subject: Feature request: Split -p To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=005045013e224f096e0486e45903 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 18 May 2010 16:49:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --005045013e224f096e0486e45903 Content-Type: text/plain; charset=ISO-8859-1 Hey guys! Been fighting with batch splitting lately, was wondering if anybody would be interested in having a split -p --parts feature. It would take an integer and try to split the file into that many parts with as equal sizes as possible. Example: :ls 2G file.dat :split -p 2 file.dat :ls 2G file.dat 1G xaa 1G xab Would you be interested enough to code this? If not, would you be interested enough to merge a patch? Thanks, Rich --005045013e224f096e0486e45903 Content-Type: text/html; charset=ISO-8859-1 Hey guys!

Been fighting with batch splitting lately, was wondering if anybody would be interested in having a split -p --parts feature. It would take an integer and try to split the file into that many parts with as equal sizes as possible.

Example:
:ls
2G file.dat
:split -p 2 file.dat
:ls
2G file.dat
1G xaa
1G xab

Would you be interested enough to code this? If not, would you be interested enough to merge a patch?

Thanks,
Rich

--005045013e224f096e0486e45903-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 18:38:29 2010 Received: (at 6216) by debbugs.gnu.org; 18 May 2010 22:38:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEVQj-0004UD-29 for submit@debbugs.gnu.org; Tue, 18 May 2010 18:38:29 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OEVQh-0004U8-6n for 6216@debbugs.gnu.org; Tue, 18 May 2010 18:38:28 -0400 Received: (qmail 38319 invoked from network); 18 May 2010 22:38:22 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 18 May 2010 22:38:22 -0000 Message-ID: <4BF31659.3090002@draigBrady.com> Date: Tue, 18 May 2010 23:36:09 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Rich Jones Subject: Re: bug#6216: Feature request: Split -p References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 6216 Cc: 6216@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On 18/05/10 21:02, Rich Jones wrote: > Hey guys! > > Been fighting with batch splitting lately, was wondering if anybody would be > interested in having a split -p --parts feature. It would take an integer > and try to split the file into that many parts with as equal sizes as > possible. > > Example: > :ls > 2G file.dat > :split -p 2 file.dat > :ls > 2G file.dat > 1G xaa > 1G xab > > Would you be interested enough to code this? If not, would you be interested > enough to merge a patch? We're about to merge a patch to do just that! http://lists.gnu.org/archive/html/bug-coreutils/2010-02/msg00034.html I'll reply to this bug when we do. cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 18:49:41 2010 Received: (at 6216) by debbugs.gnu.org; 18 May 2010 22:49:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEVbY-0004Zd-K0 for submit@debbugs.gnu.org; Tue, 18 May 2010 18:49:41 -0400 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEVXo-0004XA-I4 for 6216@debbugs.gnu.org; Tue, 18 May 2010 18:45:49 -0400 Received: by iwn42 with SMTP id 42so1954791iwn.3 for <6216@debbugs.gnu.org>; Tue, 18 May 2010 15:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=wRcjpAUifsKxcO8dbCNZ1xbCzx/75iKqtlDVtwFNNVk=; b=TUxOic9ehKj+EMvgfobc9B5UHwhO0K4EiFFEX/4ufZq8AucVi76XMAYGI7Mbit4zUy DSdarVx+VOMrw9uO0sKRHRhA/bcci0pDNB5ZTyaG91nePtc3Em8XWQD9QrgIhLRWotti sRzvLDW6bauejHFwA7NrLxRyxE02zSR6jmq98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=QW60B4l3YyoPn1h1J+RcDlx2MrmABBxYbWRbQnmkS2JZu+XHqQ/2YGs1OytlVow6O1 YBOcMHEnNmMr+z4Gugbsexo1Q3IhXhDQcSb06BnXldj+fHMk7aZLM+dJoALS4iWTCXhK 6dhOH3jg7NvUPpNElg24AW2NWW58xpYaDAIk0= Received: by 10.231.167.144 with SMTP id q16mr2667550iby.34.1274222744219; Tue, 18 May 2010 15:45:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.190.201 with HTTP; Tue, 18 May 2010 15:45:24 -0700 (PDT) In-Reply-To: <4BF31659.3090002@draigBrady.com> References: <4BF31659.3090002@draigBrady.com> From: Rich Jones Date: Tue, 18 May 2010 18:45:24 -0400 Message-ID: Subject: Re: bug#6216: Feature request: Split -p To: =?ISO-8859-1?Q?P=E1draig_Brady?= Content-Type: multipart/alternative; boundary=0050450142e808affb0486e61a4b X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 6216 X-Mailman-Approved-At: Tue, 18 May 2010 18:49:39 -0400 Cc: 6216@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) --0050450142e808affb0486e61a4b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Awesome. You're the man, P=E1draig! R 2010/5/18 P=E1draig Brady > On 18/05/10 21:02, Rich Jones wrote: > > Hey guys! > > > > Been fighting with batch splitting lately, was wondering if anybody wou= ld > be > > interested in having a split -p --parts feature. It would take an integ= er > > and try to split the file into that many parts with as equal sizes as > > possible. > > > > Example: > > :ls > > 2G file.dat > > :split -p 2 file.dat > > :ls > > 2G file.dat > > 1G xaa > > 1G xab > > > > Would you be interested enough to code this? If not, would you be > interested > > enough to merge a patch? > > We're about to merge a patch to do just that! > http://lists.gnu.org/archive/html/bug-coreutils/2010-02/msg00034.html > > I'll reply to this bug when we do. > > cheers, > P=E1draig. > --0050450142e808affb0486e61a4b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Awesome.=A0 You're the man, P=E1draig!

R

2010/5/18 P=E1draig Brady <P@draigbrady.com>
On 18/05/10 21:02, Rich Jones wrote:
> Hey guys!
>
> Been fighting with batch splitting lately, was wondering if anybody wo= uld be
> interested in having a split -p --parts feature. It would take an inte= ger
> and try to split the file into that many parts with as equal sizes as<= br> > possible.
>
> Example:
> :ls
> 2G file.dat
> :split -p 2 file.dat
> :ls
> 2G file.dat
> 1G xaa
> 1G xab
>
> Would you be interested enough to code this? If not, would you be inte= rested
> enough to merge a patch?

We're about to merge a patch to do just that!
http://lists.gnu.org/archive/html/bug-coreutils/20= 10-02/msg00034.html

I'll reply to this bug when we do.

cheers,
P=E1draig.

--0050450142e808affb0486e61a4b-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 05 17:13:45 2010 Received: (at 6216-done) by debbugs.gnu.org; 5 Dec 2010 22:13:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPMq0-0002kX-Nd for submit@debbugs.gnu.org; Sun, 05 Dec 2010 17:13:45 -0500 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PPMpy-0002kH-HO for 6216-done@debbugs.gnu.org; Sun, 05 Dec 2010 17:13:43 -0500 Received: (qmail 82315 invoked from network); 5 Dec 2010 22:19:31 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 5 Dec 2010 22:19:31 -0000 Message-ID: <4CFC0F73.6050001@draigBrady.com> Date: Sun, 05 Dec 2010 22:17:23 +0000 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Rich Jones Subject: Re: bug#6216: Feature request: Split -p References: <4BF31659.3090002@draigBrady.com> In-Reply-To: <4BF31659.3090002@draigBrady.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6216-done Cc: 6216-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 18/05/10 23:36, Pádraig Brady wrote: > On 18/05/10 21:02, Rich Jones wrote: >> Hey guys! >> >> Been fighting with batch splitting lately, was wondering if anybody would be >> interested in having a split -p --parts feature. It would take an integer >> and try to split the file into that many parts with as equal sizes as >> possible. >> >> Example: >> :ls >> 2G file.dat >> :split -p 2 file.dat >> :ls >> 2G file.dat >> 1G xaa >> 1G xab >> >> Would you be interested enough to code this? If not, would you be interested >> enough to merge a patch? > > We're about to merge a patch to do just that! > http://lists.gnu.org/archive/html/bug-coreutils/2010-02/msg00034.html > > I'll reply to this bug when we do. Fixed with http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=be107398 cheers, Pádraig. From unknown Tue Aug 19 02:52:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 03 Jan 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator