from Ed McMahon...
Thanks Paul, Paul, and Randall for the feedback...
Frank
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 1:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: sed to perl
>>>>> "Frank" ==
On Thu, Jul 19, 2001 at 12:31:16PM -0500, Frank Newland wrote:
> I want to use perl to do what I can't do on large files with sed.
Have you looked at s2p, which comes as standard with perl?
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
--- Frank Newland <[EMAIL PROTECTED]> wrote:
> I want to use perl to do what I can't do on large files with sed.
>
> 1. I run the following Unix command:
> $prompt> sed -f list_of_changes original > outputfile
>
> 2. Extract of list_of_changes:
>
> s/KAREN/LAURA /g
> s/KARA/MONA/g
> s/MIKE/O
I want to use perl to do what I can't do on large files with sed.
1. I run the following Unix command:
$prompt> sed -f list_of_changes original > outputfile
2. Extract of list_of_changes:
s/KAREN/LAURA /g
s/KARA/MONA/g
s/MIKE/OMAR/g
s/BOB/TOM/g
...
3. The file list_of_changes contains 6