silly (non-bsd) split/cat question

Tomasz Rola rtomek at ceti.pl
Thu Feb 21 01:13:25 UTC 2019


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 at bigfoot.com             **


More information about the freebsd-questions mailing list