Jacob Yocom-Piatt wrote: > > i have a single CSV file that is 2.5GB (!) unzipped which i need to either > partition into chunks or read from directly. trying to open it > with vi doesn't > work since 2.5GB >> 500MB, the size of the /var partition on this machine. > opening with vi gives a "/var: write failed, file system is full". > > it would be nice if there were a way around having to write code > to split the > file into smaller pieces. if there are tools to do this, let me > know, otherwise > i'll hop to it and code it, unless of course functions like fopen > will have the > same problem as vi does. > > cheers, > jake
man split I think it does what you need.