The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-05-2007
stuck1 stuck1 is offline
Registered User
 

Join Date: Dec 2007
Posts: 5
Error checking a file from previous file size

Hi,

I'm currently trying to write a script that checks a log file for certain errors. Once checked it then records the filesize in another file. All this is fine, my problem is that the next time I do my error check I only want to check from previously recorded filesize to the end of file. I'm not sure how how to script this so that it starts reading the file a certain specified file size so any suggestions or examples would be greatly appreciated.
Reply With Quote
Remove advertisements
!!
Forum Sponsor