tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Rich Glazier <rglazier2002@yahoo.com>
Subject: cropping a file
Date: Wed, 11 Feb 2004 10:46:24 -0800 (PST)	[thread overview]
Message-ID: <20040211184624.43655.qmail@web20727.mail.yahoo.com> (raw)
In-Reply-To: <000001c3f0c8$13e731f0$c7fe5ecb@vikrams>

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


  reply	other threads:[~2004-02-11 18:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 17:54 Trucluster upgrade V5.1 to 5.1B vikram sachdeva
2004-02-11 18:46 ` Rich Glazier [this message]
2004-02-13 19:43   ` SUMMARY: cropping a file Rich Glazier
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox