Script to strip lines from files
- From: Christian Hansen <i.dont@xxxxxxxxxxx>
- Date: Thu, 05 Jan 2006 13:03:35 -0600
I would apreciate som help making a script that be run from cron and can
strip lines from files in the work dir.
I want the files to only be able to have a certain number of lines (say
five) that start with "IP" . If the file has more I would like the script
to strip the first instance of "IP" until the file only contains five.
CH
.
- Follow-Ups:
- Re: Script to strip lines from files
- From: Christian Hansen
- Re: Script to strip lines from files
- From: Kevin Collins
- Re: Script to strip lines from files
- Prev by Date: Re: want shell should I learn?
- Next by Date: Re: how to edit only one paragraph
- Previous by thread: Re: Useful use of cat
- Next by thread: Re: Script to strip lines from files
- Index(es):
Relevant Pages
|