Tail (C)
From LiteratePrograms
This program is under development.
Please help to debug it. When debugging
is complete, remove the {{develop}} tag.
I want to write a simple clone of the functionality provided by tail as described in http://www.opengroup.org/onlinepubs/009695399/utilities/tail.html plus the GNU-functionality of reading from multiple files (together with -F and writing a header).
First thing it's got to do of course is parse the options and filename arguments given on the command line.
Download code |