Subject: Re: split into n chunks
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 05/29/2007 16:24:11
In article <20070528190414.GE12871@netmeister.org>,
Jan Schaumann <firstname.lastname@example.org> wrote:
>I've had the need to split a file into N chunks. Now I could do the
>math myself by looking at the file size and the specifying "-b" with the
>appropriate number, but I figured it might be useful to let split(1) do
>this for me.
>The attached diff adds the "-n chunk_count" flag to split(1).
>Does that look ok to commit?
Look on how I did the numeric parsing for size_t from strtol in the latest
fmt.c. Otherwise it looks fine.