Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2004 21:34:10 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        sapdb@komadev.de
Cc:        hackers@freebsd.org
Subject:   Re: strange "less" behaviour on big files
Message-ID:  <xzpd699qe65.fsf@dwp.des.no>
In-Reply-To: <1074970937.4012c1394eba7@localhost> (Kai Mosebach's message of "Sat, 24 Jan 2004 20:02:17 %2B0100")
References:  <1074970937.4012c1394eba7@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Kai Mosebach <kai@freshx.de> writes:
> i lessed a 1.0 gig file filled with zeros and less seems to slurp in
> as much as it can get at one time!

AFAIK, it tries to read one entire line; since your file doesn't
contain any line feed characters, it ends up reading the entire file.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd699qe65.fsf>