From: Bruno Wolff III <bruno@wolff.to>
To: sam@casheze.biz
Cc: pgsql-php@postgresql.org
Subject: Re: First project done Thanks to your help :))
Date: Thu, 8 May 2003 21:32:05 -0500
Message-ID: <20030509023205.GA6302@wolff.to> (raw)
In-Reply-To: <000801c315d2$89e68fd0$a3b56644@marcottesamiam>
References: <000801c315d2$89e68fd0$a3b56644@marcottesamiam>
On Thu, May 08, 2003 at 20:27:25 -0600,
sam@casheze.biz wrote:
> Now I want to take a 300meg file and break it up into smaller files I can
> read with text readers.
>
> I just can not find how to read one file - write it out to lets say 40 files
> I want to read by line for a given # of lines (I will have to just guess at
> this),
> then when I get to that # start writing to file 2 then to file 3 when I get
> to 2 * the # then 3 *.....
> figure there should be some way to set up an array (file0....file40),
The 'split' command might do what you want.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: bruno@wolff.to, sam@casheze.biz
Subject: Re: First project done Thanks to your help :))
In-Reply-To: <20030509023205.GA6302@wolff.to>
References: <000801c315d2$89e68fd0$a3b56644@marcottesamiam> <20030509023205.GA6302@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox