Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 09:02:46 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        Sue Blake <sue@welearn.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: carving up a file
Message-ID:  <3670DFB6.9A890347@uk.radan.com>
References:  <19981211195018.15365@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Sue Blake wrote:
> 
> 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?
> 

Take a look at split(1)

HTH


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

-- 
  Trust the computer industry to shorten Year 2000 to Y2K. It
  was this thinking that caused the problem in the first place.

Mark Ovens, CNC Applications Engineer, Radan Computational Ltd.
Bath, Avon, England.  Sheet Metal CAD/CAM Solutions
mailto:marko@uk.radan.com    http://www.radan.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?3670DFB6.9A890347>