Xref: utzoo comp.unix.questions:13218 comp.bugs.sys5:920 comp.bugs.4bsd:1262 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!faulkner From: faulkner@jmullins.harvard.edu (Don Faulkner) Newsgroups: comp.unix.questions,comp.bugs.sys5,comp.bugs.4bsd Subject: Re: Does tail still need the 4K byte limit? Message-ID: Date: 3 May 89 12:37:29 GMT References: <316@cbnewsh.ATT.COM> <10383@ihlpb.ATT.COM> <1618@attdso.att.com> <378@cbnewsh.ATT.COM> Sender: news@husc6.harvard.edu Organization: Harvard University Lines: 35 In-reply-to: wcs@cbnewsh.ATT.COM's message of 2 May 89 21:18:08 GMT In article <378@cbnewsh.ATT.COM> wcs@cbnewsh.ATT.COM (Bill Stewart 201-949-0705 ho95c.att.com!wcs) writes: tail... Bill> WARNING Bill> The tail command will only tail the last 4096 bytes of a Bill> file regardless of its line count. Bill> Is this fixed Bill> in SVR4 or 4.3bsd? Is it time to write GNUtail? from "trace tail -3 /etc/hosts" on sun os 4.0.1: ... open ("/etc/hosts", 0, 07) = 0 lseek (0, 0, 1) = 0 fstat (0, 0x4540) = 0 lseek (0, -32768, 2) = 272434 read (0, "smr12.army.mil\n192.5.11.13 i".., 32769) = 32768 read (0, "", 1) = 0 ... Looks like it picks the last 32k ... (my hosts file is 300k) Ciao! -- Don Faulkner Building 1, Room 803 Harvard University, School of Public Health 665 Huntington Avenue Boston, MA 02115 ARPA: faulkner%jmullins@harvard.harvard.edu BITNET: faulkner@harvard Telephone: (617) 732-2297