PC-Tools.Net - Quality Coding
unix: Trim
Trim 1.0 - Removes a number of lines from the beginning of a file
Utility used to monitor and control the sizes of (log) files. Examines a text file to see if its length has exceeded a certain limit; if it has, Trim removes a certain number of lines from the beginning of the file. Ideal for use in crontab.
Download source - trim-1.0.tar.gz [4 kb]