From owner-freebsd-questions Tue Mar 6 12: 3:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dnvrpop4.dnvr.uswest.net (dnvrpop4.dnvr.uswest.net [206.196.128.6]) by hub.freebsd.org (Postfix) with SMTP id 392B937B719 for ; Tue, 6 Mar 2001 12:03:13 -0800 (PST) (envelope-from loughry@uswest.net) Received: (qmail 51172 invoked by uid 0); 6 Mar 2001 20:03:05 -0000 Received: from idialup244.dnvr.uswest.net (HELO miranda.dnvr.uswest.net) (207.225.107.244) by dnvrpop4.dnvr.uswest.net with SMTP; 6 Mar 2001 20:03:05 -0000 Received: (from loughry@localhost) by miranda.dnvr.uswest.net (8.9.3/8.9.3) id NAA83957; Tue, 6 Mar 2001 13:03:03 -0700 (MST) (envelope-from loughry) Date: Tue, 6 Mar 2001 13:03:03 -0700 (MST) Message-Id: <200103062003.NAA83957@miranda.dnvr.uswest.net> From: "Joe Loughry" To: freebsd-questions@FreeBSD.ORG, zzhang@cs.binghamton.edu Subject: Re: tools to split and merge files In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is there a utility that can split a binary file into pieces and then > combine them together again? Thanks. > > -Zhihui uuencode(1) the binary file before feeding it to split(1). This makes sure that split(1) doesn't run away if the binary file doesn't contain enough linefeeds, i.e., looks like one terribly long line. cat(1) the pieces back together on the other end and uudecode(1) the result. -Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message