Well, the first thing that comes to mind would be using the UNIX tail
command. Of course, this does you no good if you're on windows, but I'm
not sure if that is the case.
if $n is the number of lines specified by the user, then the code would be
like:
System(tail -$n logfile);
Jeff
At
On Mon, 2002-02-04 at 19:22, Jared wrote:
I am creating a script that reads Radius log files and prints them to
the browser. I want the User to be able to specify the Number of lines
they want to see beginning at the end of the file and going up instead
of reading the lines at the beginning
2 matches
Mail list logo