Mordy Ovits <[EMAIL PROTECTED]> wrote: > On Wednesday 21 April 2004 03:35 pm, Jim Meyering wrote: >> If you want to continue using cut, you'll have better >> luck with the latest: >> >> ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gz >> ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.bz2 > > Doesn't work. > > [EMAIL PROTECTED] ~]$ ls -l ~/bigfile > -rw-r--r-- 1 movits movits 9075738624 Apr 21 12:39 /home/movits/bigfile > > [EMAIL PROTECTED] ~]$ cut -b 1-412569600 ~/bigfile > firstchunk > > 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. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
