home *** CD-ROM | disk | FTP | other *** search
- The file TAIL.COM is my implementation of the tail utility for MSDOS
- machines.
-
- Version 2.0 given here was written in Turbo 3.0, and was post-optimized
- using the TurboPower Software's library compactor and optimizer.
-
- The program is copyright 1987 A. M. Lovell.
-
- It is self documenting. It might ask you for money, as it has a very high
- opinion of itself. It claims to be a member of a set of text file tools
- called the TOFU collection. Actually, it looks a lot less foolish in their
- company.
-
- The power of this utility is that it leaps about the input file using seeks
- and blockreads. This makes it very fast to give you the end of a very long
- file, and also frees it of any need for memory for storing the file. The
- drawback to the approach is that you cannot measure your starting point in
- lines, but must do so instead in characters.
-
- The HEAD utility posted a short while back on USENET took the other approach,
- so a synergy can be achieved by using them together. Use TAIL to chop off
- a chunk of the end of the file, then have HEAD do the dirty job of counting
- the lines of text. This combination will give you TAIL's speed and HEAD's
- ability to count lines of text.
-
- The other (meatier) pieces of the TOFU dataset will follow shortly. You
- should only allow your conscience to gnaw at you if you find yourself
- using a number of these programs. If you don't cave in and register,
- you will be unable to enjoy life. All will be gray. Food will be tasteless.
- Your sea monkeys will belly-up. You get the picture. But if this little guy
- is all you ever see - forget it.
-
- Direct any comments/hints/flames to:
-
- Tony Lovell
-
- amlovell@phoenix.princeton.edu