For splitting a file at a specified ``split'' line, dont forget the
standard Unix utility, csplit, which has been ported to DOS as part
of the genuish project. You can find it among the set of gnuish,
text utilities, complete with its own ``man page'' documentation:

ftp://ftp.simtel.net/pub/simtelnet/gnu/gnuish/gnutut12.zip

There is probably even a 32 bit version, complied with the Delorie tools.
As usually, program with a Unix history provide more features and power
and a simple tool. csplite.exe can split files at a line, you can specify
that the lines be split at an ofset (that is, split at, for instance, 3
lines after the target ``split line'' etc.). You can specify the line using
a regular expression (but you dont have to).  You can specify multiple,
different lines to split the file at, etc. etc.  From the man page:

SYNOPSIS
     csplit [ -ks ] [ -f prefix ] [ -n number ] file arg1 argn

DESCRIPTION
     The csplit utility reads the file named by the file operand,
     writes all or part of that file into other files as directed
     by the arg operands, and writes the sizes of the files.

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.

Reply via email to