Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 17:56:34 -0500
From:      courtney@whtz.com
To:        questions@freebsd.org
Subject:   Perl Script
Message-ID:  <85256871.007E0786.00@mail.whtz.com>

next in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85256871.007E0786.00>