On Fri, 16 Oct 2009 22:25:13 -0700, Gary Kline <kl...@thought.org> wrote:
> I would like to put back the 
>       huge text file into its 66 smaller files using split.  Can I break this 
>       very large journeyTowardtheDawn.txt using the regex
>       "Chapter [:digit:]{1,2}" ??
> 
>       Or maybe just "Chapter " ?

Maybe FreeBSD's csplit program is the right tool for this job.
It supports splitting files based on context; you can use
regex to express where a new file should be opened.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to