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

Re: split large files



On Mon, 2003-11-10 at 08:05, Jens Tobiska wrote:
> On Mon, Nov 10, 2003 at 07:19:46AM -0600, Ron Johnson wrote:
> > On Mon, 2003-11-10 at 04:28, Jens Tobiska wrote:
> > > When using `split' (textutils 2.0-12) to split a large file (4.2G) I've
> > > found an inconsistency. The original file consists of number - one per
> > > line - total 5*10^8. After `split -l 10000000 foo' I have 50 files. In
> > > some of them, however a dot has been replaced by `<'.
> > > 
> > > Is this a known problem? `foo' has been created in Windows if that
> > > makes a difference.
> > 
> > I think I'd go in with a binary editor and see if the underlying
> > data has changed.
> > 
> I'm not sure if I understand you correctly. As I wrote, in some of the
> 50 files the data has changed (2 files, one number changed in each).
> 
> Why should I use a BINARY editor? It's all ASCII.

Oh, ok.  I didn't know if it was just the visual representation of
Windows-generated \r\n, since Unix uses \n as line terminator.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

Note to LSU and Valdosta State students: India is not an Arab
country!
http://www.talonnews.com/news/2003/october/1009_college_dems_jind
al.shtml



Reply to: