[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Concatenate text



Rubywand <rubywand@swbell.net> wrote in article
<33833C7E.2F20@swbell.net>...
> Miklos Gyorgy writes ...
> > 
> > Hello,
> > 
> > I am looking for an application for Mac which would do the simple task
> > of concatenating two megabyte-long text files. A word processor would
> > probably do but at the moment I only possess a very simple text editor
> > which cannot handle long files.
> > 
> 
>      A Mac user might know of some utility which will do the job; I do 
> not. Assuming there is no problem with file length, one approach might be

> to write a program which reads FileA.1MB and writes to FileC.Big. When an

> error is encountered (e.g. via a BASIC ONERR), you hop to another loop 
> and read FileB.1MB and continue writing to FileC.Big. When an error is 
> encountered, you CLOSE all files.
> 
>      FileC.Big should be about 2MB.
> 
> 
> Rubywand
> 

OK, I'll say it:  You need to write a program to concatenate files on a
mac?!?!

Incredible.  

Dan