cropping a file

From: Rich Glazier <rglazier2002_at_yahoo.com>
Date: Wed, 11 Feb 2004 10:46:24 -0800 (PST)

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
Received on Wed Feb 11 2004 - 18:47:34 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT