From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 11:24:42 2015 Received: (at submit) by debbugs.gnu.org; 22 Jun 2015 15:24:42 +0000 Received: from localhost ([127.0.0.1]:54618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z73aT-0003uK-LS for submit@debbugs.gnu.org; Mon, 22 Jun 2015 11:24:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33882) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z6xu9-0002MW-65 for submit@debbugs.gnu.org; Mon, 22 Jun 2015 05:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6xu0-0004uq-Cw for submit@debbugs.gnu.org; Mon, 22 Jun 2015 05:20:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_20, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6xu0-0004uk-A2 for submit@debbugs.gnu.org; Mon, 22 Jun 2015 05:20:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6xtz-0003lG-CP for bug-coreutils@gnu.org; Mon, 22 Jun 2015 05:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6xty-0004tr-8s for bug-coreutils@gnu.org; Mon, 22 Jun 2015 05:20:27 -0400 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:35776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6xty-0004tW-4x for bug-coreutils@gnu.org; Mon, 22 Jun 2015 05:20:26 -0400 Received: by obbop1 with SMTP id op1so15768945obb.2 for ; Mon, 22 Jun 2015 02:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0jT2HbM8DFkQ78b2foqZksTfXy575aR/R/izRIb16oU=; b=tJLOv0ZDKQ5wMbhml2kOv7+d9Oj76oJsrZRoojmSuDZ89clzEycRDaBlEjRI14vmHF rYpbFw3zqkcvXUAtybUlCUCKiYZnL2T9inY8A96NMQukaPgKz+aIqerZ0GCEHDBEQ41N /DRyiw64ocTqL40PDNRGRxcaTQaTRmeU14fWt2FENOT9CDo9oDuDlPYEVLp+ISnliuov iB2aa1no6cy2EpgEULZIzoGdHGWoz8pBkuy2fLuxHJs4qKlWDiV7353+tg7i9vUORw7f 8vEBN+V5bqPMFPobXDPC46xWhFUzlF4yla9k+Kn+do87VbSfCRV8D0bmliH4lMJ/iMdk HSew== MIME-Version: 1.0 X-Received: by 10.202.170.82 with SMTP id t79mr23169176oie.40.1434964825411; Mon, 22 Jun 2015 02:20:25 -0700 (PDT) Received: by 10.76.96.46 with HTTP; Mon, 22 Jun 2015 02:20:25 -0700 (PDT) Received: by 10.76.96.46 with HTTP; Mon, 22 Jun 2015 02:20:25 -0700 (PDT) Date: Mon, 22 Jun 2015 02:20:25 -0700 Message-ID: Subject: Split -d skips to 9000 at 90 From: Kevin Tan To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=001a113c32ecaf1659051917c82a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 22 Jun 2015 11:24:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --001a113c32ecaf1659051917c82a Content-Type: text/plain; charset=UTF-8 Coreutils version: 8.23-3ubuntu1 Operating system: Ubuntu 15.04 Split with numeric suffixes adds extra digits in the suffix from 90+ and begins counting again from the 9000s. All 90s after the first have no jumps. Example: split -b 2048 -d testfile.bin splitfile. With a large enough test file (721KB) the resultant files: splitfile.00, splitfile01, splitfile.02 ... splitfile.89, splitfile.9000, splitfile.9001, splitfile.9002 ... splitfile.9262, etc. --001a113c32ecaf1659051917c82a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Coreutils version: 8.23-3ubuntu1
Operating system: Ubuntu 15.04

Split with numeric suffixes adds extra digits in the suffix = from 90+ and begins counting again from the 9000s. All 90s after the first = have no jumps.

Example:
=C2=A0=C2=A0=C2=A0 split -b 2048 -d testfile.bin splitfile.

With a large enough test file (721KB) the resultant files: splitfile.00, splitfile01, splitfile.02
...
splitfile.89, splitfile.9000, splitfile.9001, splitfile.9002
...
splitfile.9262, etc.

--001a113c32ecaf1659051917c82a-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 12:10:49 2015 Received: (at 20874) by debbugs.gnu.org; 22 Jun 2015 16:10:50 +0000 Received: from localhost ([127.0.0.1]:54674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z74J6-0006UA-Gm for submit@debbugs.gnu.org; Mon, 22 Jun 2015 12:10:49 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:56155) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z74J2-0006Tp-I9; Mon, 22 Jun 2015 12:10:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0MACIziFVtTvUC/2dsb2JhbABcgxCCb4FiwACCVAKBOkwBAQEBAQGBC0EDg18BAQQjDwFWCw0BCgICBRYLAgIJAwIBAgFFBgEMCAEBiC8BtESFa5AjASuBIYokhC5fgmiBQwWTfZQWj2kmg3o9gTWBRAEBAQ Received: from unknown (HELO localhost.localdomain) ([109.78.245.2]) by mail2.vodafone.ie with ESMTP; 22 Jun 2015 17:10:29 +0100 Message-ID: <55883374.3060807@draigBrady.com> Date: Mon, 22 Jun 2015 17:10:28 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Kevin Tan , 20874@debbugs.gnu.org Subject: Re: bug#20874: Split -d skips to 9000 at 90 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20874 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 20874 notabug close 20874 stop On 22/06/15 10:20, Kevin Tan wrote: > Coreutils version: 8.23-3ubuntu1 > Operating system: Ubuntu 15.04 > > Split with numeric suffixes adds extra digits in the suffix from 90+ and begins counting again from the 9000s. All 90s after the first have no jumps. > > Example: > split -b 2048 -d testfile.bin splitfile. > > With a large enough test file (721KB) the resultant files: > splitfile.00, splitfile01, splitfile.02 > ... > splitfile.89, splitfile.9000, splitfile.9001, splitfile.9002 > ... > splitfile.9262, etc. > It's done like that so there is no limit to the number of output files, but also that those output files sort correctly with a lexical sort. If you want consecutive numbers then specify enough digits wiht -a5 etc. thanks, Pádraig. From unknown Fri Jun 20 07:17:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 21 Jul 2015 11: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 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 28 22:44:46 2018 Received: (at control) by debbugs.gnu.org; 29 Oct 2018 02:44:46 +0000 Received: from localhost ([127.0.0.1]:49583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGxXq-0000Ei-9f for submit@debbugs.gnu.org; Sun, 28 Oct 2018 22:44:46 -0400 Received: from mail-io1-f45.google.com ([209.85.166.45]:36528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGxXo-0000EW-OJ for control@debbugs.gnu.org; Sun, 28 Oct 2018 22:44:45 -0400 Received: by mail-io1-f45.google.com with SMTP id o19-v6so4037452iod.3 for ; Sun, 28 Oct 2018 19:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=bd+CgJKwWv+pcgMKfHCfU/z3Tzzim6RG5QaBJ44QFTQ=; b=t5cXUHr24ys7weQrDM2LmRkpwYMTC2JdDVr6EHFUXbO5ScX9M1FfN0sMSybWNLex6Z hN5mPpSACn1a884EwmzkVe8UbyJLZg2hSj/+ZLOIzkW6BcDrxAtzZli0++NAbX5LeynP vYAgtx91hU/BNt1ansppWfw7scGcpoEOociOcTLTp2h9Bk2hzcOQLocR7GcFwxkT6NdH m9goqPTjlkc3NB6NLheaIt4HuaclFPwvxMLVChIQgRAKI57VhMqsTTe25Dv1WtEwLy61 oSHjQAhlEJTSaMaKhPbEH1xadMxsgAuCEi8XKU1imfGbhwV1Y5Xmn277TR0bKvad57RC ijSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=bd+CgJKwWv+pcgMKfHCfU/z3Tzzim6RG5QaBJ44QFTQ=; b=biYguGEPKRS64HF4/CZKjftD1D1icxu4ino/olW0J/yPAGWEi6RfAxKMy4bBPhKL4E +fsiY1v4d4bpE87YFH6wTXYMObPYCmNQr2UnACGq5tqVP9gwzjOzIc5UBp/k+9aZazye j1rlSIdo1DOAyfAZnu4jBuUE6pK0WypmYfnCPx9hIZXwLiS1DQoyVHICIFsN75y/4kfd l6ANguV1KAXPlIHS2P0Hh64YyfrphTcueJuA8Px3PKsLO2SKggS6dqJC8kwzsBgrKC1q s16M9xNZR18I3ThTx5TMKZoe3exBBkjFrc7q2Kq3ctiHR/nZvw5yEuqbOEX5iC4vZt0M 8AVA== X-Gm-Message-State: AGRZ1gJdd8SlVhZbepD9E7Zr8qfsgQjE49bCXBUMHAzC54+FKHhK6+4u N74bUAsTflLH/94kfQ+4aKweP2e2nYc= X-Google-Smtp-Source: AJdET5cCoFyPWLwMuvi5+K+HOWsJMpKexp19d8mwRLdRrgIM32OB/6kiy53o06ThZCTLYmwcRjUT+Q== X-Received: by 2002:a6b:6201:: with SMTP id f1-v6mr7327081iog.11.1540781078571; Sun, 28 Oct 2018 19:44:38 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id b2-v6sm7395843ioc.51.2018.10.28.19.44.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 19:44:37 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: <78bc405f-9b21-c43c-bb93-f669a6484883@gmail.com> Date: Sun, 28 Oct 2018 20:44:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 20874 forcemerge 20874 25832 close 25832 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.166.45 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.166.45 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) unarchive 20874 forcemerge 20874 25832 close 25832 From unknown Fri Jun 20 07:17:20 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, 26 Nov 2018 12:24:06 +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