Re: strange "less" behaviour on big files

kai_at_freshx.de
Date: 01/24/04

  • Next message: Sam Smith: "Re: XL driver checksum producing corrupted but checksum-correct packets"
    Date: Sat, 24 Jan 2004 21:37:30 +0100
    To: Dag-Erling Smørgrav <des@des.no>
    
    

    Zitat von Dag-Erling Smørgrav <des@des.no>:

    > 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
    > --
    > Dag-Erling Smørgrav - des@des.no
    >
    >

    Yeah, thought of something like this, because on "real" binary files you get
    asked, if you want to show the binary file, on the zero file not.

    Still strange though, that 4.9 has no problem with it ...

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Sam Smith: "Re: XL driver checksum producing corrupted but checksum-correct packets"