From owner-freebsd-questions Fri Dec 11 00:50:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA07065 for freebsd-questions-outgoing; Fri, 11 Dec 1998 00:50:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA07060 for ; Fri, 11 Dec 1998 00:50:41 -0800 (PST) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.9.1/8.9.0) id TAA29564; Fri, 11 Dec 1998 19:50:23 +1100 (EST) Message-ID: <19981211195018.15365@welearn.com.au> Date: Fri, 11 Dec 1998 19:50:18 +1100 From: Sue Blake To: freebsd-questions@FreeBSD.ORG Subject: carving up a file Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a 2 meg text (RTF) file to split into a dozen files, one for each chapter, after each time it is edited. There is a distinctive string at the beginning of each chapter, another could be added to the file, or I could go by line numbers. Is there already an easy way to do this, or do I roll my own? -- Regards, -*Sue*- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message