From owner-freebsd-questions Tue Jan 25 15: 7:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.whtz.com (m8.z100.com [209.73.193.8]) by hub.freebsd.org (Postfix) with SMTP id 47FDB15352 for ; Tue, 25 Jan 2000 15:07:15 -0800 (PST) (envelope-from courtney@whtz.com) Received: by mail.whtz.com(Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) id 85256871.007E0834 ; Tue, 25 Jan 2000 17:56:36 -0500 X-Lotus-FromDomain: Z100 From: courtney@whtz.com To: questions@freebsd.org Message-ID: <85256871.007E0786.00@mail.whtz.com> Date: Tue, 25 Jan 2000 17:56:34 -0500 Subject: Perl Script Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hey everyone... I am looking for some advice, or how to write a perl script that will open a file, and search it for a pre-determined string, and then output a few characters of that file to another file... I.E. it opens file "a" and looks for the test "Bernie Courtney" it then takes the next 4 characters after "Bernie Courtney" and writes them to file "B" this seems like it could be done fairly simply....can anyone help me out with this... Thanks in advance Bernie Courtney To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message