From owner-freebsd-questions@freebsd.org Thu Feb 21 01:13:25 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18BBB14E479B for ; Thu, 21 Feb 2019 01:13:25 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from mailout4.ceti.pl (mailout4.ceti.pl [62.121.128.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 975AA81195 for ; Thu, 21 Feb 2019 01:13:23 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from localhost (localhost [127.0.0.1]) by mailout4.ceti.pl (Postfix) with ESMTP id D670AC0552F31 for ; Thu, 21 Feb 2019 02:13:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailout1.ceti.pl Received: from mailout4.ceti.pl ([62.121.128.44]) by localhost (mailout1.ceti.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uoy-dsvEiQP3 for ; Thu, 21 Feb 2019 02:13:15 +0100 (CET) Received: from tau1.ceti.pl (tau.ceti.pl [62.121.128.11]) by mailout4.ceti.pl (Postfix) with ESMTP id 8681BC0552F12 for ; Thu, 21 Feb 2019 02:13:15 +0100 (CET) Received: by tau1.ceti.pl (Postfix, from userid 3727) id 53D1796097E; Thu, 21 Feb 2019 02:13:15 +0100 (CET) Date: Thu, 21 Feb 2019 02:13:15 +0100 From: Tomasz Rola To: freebsd-questions@freebsd.org Subject: Re: silly (non-bsd) split/cat question Message-ID: <20190221011315.GB13862@tau1.ceti.pl> References: <20190220224645.GA13862@tau1.ceti.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220224645.GA13862@tau1.ceti.pl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 975AA81195 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.51 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.78)[0.779,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: tau1.ceti.pl]; NEURAL_SPAM_LONG(0.59)[0.588,0]; RCVD_IN_DNSWL_NONE(0.00)[44.128.121.62.list.dnswl.org : 127.0.15.0]; NEURAL_HAM_SHORT(-0.05)[-0.054,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[rtomek@ceti.pl,rtomek@tau1.ceti.pl]; DMARC_NA(0.00)[ceti.pl]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15541, ipnet:62.121.128.0/20, country:PL]; FROM_NEQ_ENVFROM(0.00)[rtomek@ceti.pl,rtomek@tau1.ceti.pl]; IP_SCORE(0.01)[country: PL(0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 01:13:25 -0000 On Wed, Feb 20, 2019 at 11:46:45PM +0100, Tomasz Rola wrote: > On Wed, Feb 20, 2019 at 11:15:58AM -0800, Aleksandr Miroslav wrote: > > Suppose I have 6 files that have been created by split, they are [...] > > copy last 2GiB of bigfile onto x_n (the exact n value, if you want to > simulate split, will be probably 6... or 5?) > truncate last 2GiB of bigfile > n-- > repeat until bigfile <2GiB > mv bigfile x_0 I know there is an error up there, but fortunately I have also advised you to experiment, so you should catch it quickly. It is just one sign missing. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home ** ** directory. And then the C programmer became enlightened... ** ** ** ** Tomasz Rola mailto:tomasz_rola@bigfoot.com **