Hi All ;
I am new to this group.I am just started to learn perl.I want to
program in perl or C
that it input text file(.txt) and it should find every Uppercase
letters(Capital letter) in
the input file converts every capital letter say with one letter d and
lower case letters(small letter
ppp ppp wrote:
> Hi All ;
Hello,
> Subject: Re: Grep through a log file
It doesn't look like you are replying to the OP and your question is not about
'grep' so you should start a new thread instead of replying to an existing one.
> I am new to this group.I am just
On 11/10/06, ppp ppp <[EMAIL PROTECTED]> wrote:
Hi All ;
I am new to this group.I am just started to learn perl.I want to program
in perl or C
that it input text file(.txt) and it should find every Uppercase
letters(Capital letter) in
the input file converts every capital letter say with one l
Hi All ;
I am new to this group.I am just started to learn perl.I want to program in
perl or C
that it input text file(.txt) and it should find every Uppercase
letters(Capital letter) in
the input file converts every capital letter say with one letter d and lower
case letters(small letter
>
> Matt,
>
> The problem is that has already returned EOF. The next
> time around, Perl says "nothing more to see here, folks; move along"
> and exits the while block. If you want to read from it again, you need
> to reopen it. Just put the open inside the while () block.
>
That did it, than
On 11/9/06, mlist <[EMAIL PROTECTED]> wrote:
First, thanks for your input Jay, Rob, Lawrence
Jay,
I tried your script. What happens is it gets through the first
iteration of the script and copies the appropriate lines to the new log
file. But each subsequent iteration is skipped over.
This
> Matt,
>
> A couple of things here. first, you don't perform any modification of
> $culist, but the strings in $culist don't appear unmodified in the log
> file. the string perl reads into $_ from a file like you're example is
> e.g. "SUN9-GT:\n". The string in the log file, though, is just
> "SU
On 11/9/06, mlist <[EMAIL PROTECTED]> wrote:
I hope this is an easy one (I have a feeling it is).
I'm trying to parse through a single, large firewall log file. I need
to run through a file to get the firewall name and push the associated
data to it's own log file. This is what I have so far:
Hi Matt,
Had a look at this script but it just confused me a bit.
So I wrote this that does what you want but works in a slightly diffrent way
(end result is the same though)
#!/usr/bin/perl
use warnings;
use strict;
# First we make a list of what we want to find
my @List;
open CULIST, "CULIS
> I hope this is an easy one (I have a feeling it is).
>
> I'm trying to parse through a single, large firewall log file. I need
> to run through a file to get the firewall name and push the associated
> data to it's own log file. This is what I have so far:
>
>
> #!/usr/bin/perl
>
> use warn
I hope this is an easy one (I have a feeling it is).
I'm trying to parse through a single, large firewall log file. I need
to run through a file to get the firewall name and push the associated
data to it's own log file. This is what I have so far:
#!/usr/bin/perl
use warnings;
use strict;
op
11 matches
Mail list logo