From owner-freebsd-questions Sun Mar 11 21:49:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id 0D82637B71A for ; Sun, 11 Mar 2001 21:49:18 -0800 (PST) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1001) id 1DEE5383071; Sun, 11 Mar 2001 23:49:17 -0600 (CST) Date: Sun, 11 Mar 2001 23:49:16 -0600 From: Christopher Farley To: freebsd-questions@freebsd.org Subject: split bug? Message-ID: <20010311234915.A78116@northernbrewer.com> Mail-Followup-To: Christopher Farley , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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