Suggesion on using java or shell script
<p>One third party application writes data to log file. Data format is text. Log file (say orig.log) is created daily. Maximum size of log file is set to 1 GB. Requirement is to to write a program</p>

<ol>
<li><p>Which will rename this log
file(to say temp.log) and change
some records as per requirement.</p></li>
<li><p>Program will append the entire
contents of this log file to some
other file(say-Processed.log).</p></li>
<li><p>Program will delete temp.log.</p></li>
<li><p>Program will be like
scheduler-should be able to perform
1,2,3  at specific time interval
like 15 minutes/1 Hr etc</p></li>
</ol>

<p>Is java suitable for this? or Shell Script? any other option?
(all files, third party application and this program will be on same machine).</p>
