[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need Text Utility
- Subject: Re: Need Text Utility
- From: lesherjt@vuse.vanderbilt.edu (John Lesher)
- Date: 1996/06/03
- Newsgroups: comp.sys.apple2
- Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
- References: <4oe939$5j8@newslink.runet.edu>
Dennis McClain-Furmanski (dmcclain@runet.edu) wrote:
: I need to chop several large text files into individual page sized chunks.
: If the resulting files were named consecutively, that'd be nice.
: It doesn't have to look for page break control codes, but it could.
: It'd have to be able to calculate it's own. All of the source files are
: ASCII. I have AW 3.0 if there's an add-on for that which will do it.
: Is there any such beast in existence? If not in Appleland, then elsewhere?
: I have at least one of most everything available. The amount that I have
: to do makes hand-cutting out of the question; it'd take weeks.
This job is very easy under UNIX (and is available under GNO/ME):
split [-number] [infile [outfile] ]
default for number is 1000. number specifies # of lines (not bytes).
If no outfile, "x" is used. Sequential outfiles are (e.g.) xaa, xab,
xac, (etc.).
Tilghman