cropping a file

From: Rich Glazier (rglazier2002@yahoo.com)
Date: Wed Feb 11 2004 - 13:46:24 EST


Does anyone have a suggestion about how to crop a file
such that it always remain a certain size (in one
step- i.e. not creating and deling files and not an
editor)? I have a log file where I want to dump the
fist 100 lines once a week. I've tried ways of using
head and redirecting dev/null to the file, but can't
quite get what I want.

Thanks.

T645.1A PK6

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:51 EDT