Does tail still need the 4K byte limit?

Bill Stewart 201-949-0705 ho95c.att.com!wcs wcs at cbnewsh.ATT.COM
Wed May 3 07:18:08 AEST 1989


TAIL(1)	 (Directory and	File Management	Utilities)     TAIL(1)
BUGS
  Tails	relative to the	end of the file	are stored in a
  buffer, and thus are limited in length.  Various kinds of
  anomalous behavior may happen	with character special files.

WARNING
  The tail command will	only tail the last 4096	bytes of a
  file regardless of its line count.

Page 1					   (last mod. 2/11/88)

This was all very well in PDP-11 days, when you wanted a nice little
utility that didn't use much memory.  But now that "everybody" has
virtual memory, there's no reason to retain this behavior; you can
still make the initial  buffer size be 4K to keep the  "V7 > 4.2"
people happy, and malloc more memory as needed so that tail always
does what you ask it to.

Has anybody written a public domain version of tail?  Is this fixed
in SVR4 or 4.3bsd?  Is it time to write GNUtail?

		Thanks;  Bill
-- 
# Bill Stewart, AT&T Bell Labs 2G218 Holmdel NJ 201-949-0705 ho95c.att.com!wcs
# also found at 201-271-4712 tarpon.att.com!wcs 

# welcome, to mars, eh, hosers!  Have a brew and some donuts, eh?



More information about the Comp.bugs.sys5 mailing list