Last line of file/Perl
technomage
plug-discuss@lists.plug.phoenix.az.us
Thu, 14 Nov 2002 13:46:43 -0700
you can always tail it.
I think the command syntax is: tail --lines=1 <file>
Technomage.
p. I use this a lot when making additions to thje hosts file when I need to
see what the last line is.
On Thursday 14 November 2002 01:39 pm, you wrote:
> I need to open a file and just read in the last line, can anyone
> throw me a bone?
>
> v/r
> -Mike
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
I will not be pushed, filed, stamped, indexed, briefed, debriefed, or
numbered!
My life is my own - No. 6