strange "less" behaviour on big files

Dag-ErlingSmørgrav des at des.no
Sat Jan 24 12:34:25 PST 2004


Kai Mosebach <kai at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list