POSER@SU-CSLI.ARPA (09/07/84)
From: Bill Poser <POSER@SU-CSLI.ARPA> It isn't terribly difficult to write a new program to do this, but in fact the -r option of tail will work just fine. The limitation to one input buffer full can be avoided simply by declaring the input buffer sufficiently large to contain the entire input file. This may be less efficient in terms of physical i/o blocking and may hog memory, but unless memory and efficiency constraints are unusual this doesn't matter. In the Berkeley version of tail.c the input buffer size is controlled by the parameter LBIN which is defined as 4097. Just change this number to something big. I tried this with LBIN set to 100000 and it worked just fine. Bill Poser (poser@su-csli, poser@su-russell) -------