bug-coreutils
[Top][All Lists]
Advanced

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

Re: cut fails with "cut: memory exhausted" when taking a large slice


From: Mordy Ovits
Subject: Re: cut fails with "cut: memory exhausted" when taking a large slice
Date: Wed, 21 Apr 2004 17:37:03 -0400
User-agent: KMail/1.5.3

On Wednesday 21 April 2004 05:08 pm, Jim Meyering wrote:
> > cut never stops.  The file 'firstchunk' just gets bigger and bigger.
>
> Hmm... I'll bet your data is not all on one line.
> cut is a line-oriented tool, and it tries to read each
> line in its entirety into memory, so it's probably not
> the tool you want, after all.  As I said, dd should work
> better.

I thought that cut -b implied paying no attention to lines.  I'll be trying 
the dd technique.

Thanks,
Mordy
-- 
Mordy Ovits
Network Security
Bloomberg L.P.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]