Has to read through the entire file... so I'm sure there are more efficient and practical solutions using modules etc...perl -ne'print if eof' < my-reasonably-short-file
In reply to Re: Read Last Line of A File Only
by insensate
in thread Read Last Line of A File Only
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |