home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!nuug!symbas!hans
- From: hans@symbas.UUCP (Hans Aafloy)
- Newsgroups: comp.lang.perl
- Subject: Delete until pattern match
- Message-ID: <3722@symbas.UUCP>
- Date: 11 Dec 92 18:46:09 GMT
- Reply-To: hans@symbas.lind.no
- Distribution: world
- Organization: Symbiotic Computer Systems A/S, Trondheim, Norway
- Lines: 11
-
- I have some files in which I want to delete all lines until a
- certain pattern match. I know a couple of awkward ways to do it,
- ( using an array as temporary storage etc.)
- but is there a quicker and more elegant solution ?
-
- Thanx for any hints - via e-mail please.
-
- Hans
-
- hans@symbas.lind.no
-
-