Re: Dividing a large long lined file
On Wed, Sep 01, 1999 at 06:40:42PM -0700, John Haggerty wrote:
> I thought I would ask this question since it is about general unix and debian as well.
> I have a file which is say about 700 characters wide and 2,000 characters long I wish to take this file and divide this into equal files horizontally AND vertically say about 65 characters long and 80 wide. I tried to look for an obvious way to do this but can only divide it into horizontal portions with split.
>
Hi,
You can use fold -w 80.
man fold for more details.
Bye.
Reply to: