Date: Mon, 20 Jun 2005 08:46:01 -0500 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Re: OT: usage of split Message-ID: <200506200846.05150.kirk@strauser.com> In-Reply-To: <200506192231.18309.algould@datawok.com> References: <200506192231.18309.algould@datawok.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sunday 19 June 2005 22:31, Andrew L. Gould wrote: > 1. Can the split utility be used on binary files? Yes. > 2. How does one rejoin the resulting split files to recreate the > original file? I assume you can cat text files into a new file using > redirection (>>); but can you do that with a binary file? Yes. From the first line of the cat(1) man page: "cat - concatenate files". There you have it - "cat" is short for "concatenate". It's the opposite of "split". If you want to prove it to yourself, try using cmp or md5 to compare before and after versions of split-and-rejoined files. -- Kirk Strauser [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iD8DBQBCtsid5sRg+Y0CpvERApLHAKCKUG/OCcXw1EPRaioaBhzdOpF7sACfWL9D ft8h9NaP6y46sIDfxHDHYQ0= =LnpT -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506200846.05150.kirk>
