Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 23:49:16 -0600
From:      Christopher Farley <chris@northernbrewer.com>
To:        freebsd-questions@freebsd.org
Subject:   split bug?
Message-ID:  <20010311234915.A78116@northernbrewer.com>

next in thread | raw e-mail | index | archive | help
I've been trying to split a large binary file using split(1). Are there
any caveats pertaining to the use of split with binary files? I searched
around, but could only find encouraging information...

Anyway, here's my problem specifically: I've got a large gzipped file,
and I split it like so: 

# split -b 660m myfile.gz

The four resulting files (xaa, xab, xac, xad) cannot be reassembled
to create the original gzipped file.

# cat xaa xab xac xad | diff seward-dump.gz -
Binary files seward-dump.gz and - differ

Is this a bug, or user error? :)

-- 
Christopher Farley
www.northernbrewer.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010311234915.A78116>