Howdy:
I have a script where I'd like to open a
bunch of files, search for a pattern and
replace it with another.
What I am getting is not quite what I expected.
I get almost everything, but I'm getting a
bit more at the end.
[snip script]
#!/usr/bin/perl -w
use strict;
use warnings;
use diagn
Shaunn Johnson wrote:
>
> Howdy:
Hello,
> I have a script where I'd like to open a
> bunch of files, search for a pattern and
> replace it with another.
>
> What I am getting is not quite what I expected.
> I get almost everything, but I'm getting a
> bit more at the end.
It looks like you are
or that shorter version of the @list.
Much cleaner than mine!
-X
>>-Original Message-
>>From: John W. Krahn [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, July 08, 2003 2:03 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: problems replacing a pattern in file
>>
&g
Shaunn Johnson wrote:
>
> >>From: John W. Krahn [mailto:[EMAIL PROTECTED]
> >>
> >>Shaunn Johnson wrote:
> >>>
> >>> # create a loop to search for one instance of
> >>> # my password and change it to something else
> >>> # one day, i'll get smart and ask for a paramater, too
> >>>
> >>> for my $fi
gt;Sent: Tuesday, July 08, 2003 4:52 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: problems replacing a pattern in file
>>
>>
>>Shaunn Johnson wrote:
>>>
>>> >>From: John W. Krahn [mailto:[EMAIL PROTECTED]
>>> >>
>>> >&g