On Jan 15, 2004, at 8:30 PM, Kenton Brede wrote:
Thanks for the great explanation. I've been working with the code
above
since I need more hash practice, trying to keep on track with the
original poster's question. The code below works fine except I can't
figure out how to put one "\n" between
On Thu, Jan 15, 2004 at 08:38:11AM -0600, James Edward Gray II ([EMAIL PROTECTED])
wrote:
> On Jan 14, 2004, at 10:28 PM, Kenton Brede wrote:
>
> >On Wed, Jan 14, 2004 at 09:57:51PM -0600, James Edward Gray II
> >([EMAIL PROTECTED]) wrote:
> >>On Jan 14, 2004, at 7:22 PM, Jose Malacara wrote:
>
On Jan 14, 2004, at 10:28 PM, Kenton Brede wrote:
On Wed, Jan 14, 2004 at 09:57:51PM -0600, James Edward Gray II
([EMAIL PROTECTED]) wrote:
On Jan 14, 2004, at 7:22 PM, Jose Malacara wrote:
Since you've already been shown the super easy way, I'll dare to be a
little different:
#!/usr/bin/perl
> On Wed, Jan 14, 2004 at 06:22:58PM -0700, Jose Malacara wrote:
>> Can someone explain to me how to do multiline matching? I am trying to
>> extract three consecutive lines from a datafile containing multiple
>> records like this:
>>
Hi All well i was reading t
y the "three consecutive lines" part of
your question.
-Original Message-
From: Jose Malacara [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 5:23 PM
To: [EMAIL PROTECTED]
Subject: multiline matching
Can someone explain to me how to do multiline matching? I am try
On Wed, Jan 14, 2004 at 09:57:51PM -0600, James Edward Gray II ([EMAIL PROTECTED])
wrote:
> On Jan 14, 2004, at 7:22 PM, Jose Malacara wrote:
> Since you've already been shown the super easy way, I'll dare to be a
> little different:
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> $
On Jan 14, 2004, at 7:22 PM, Jose Malacara wrote:
Can someone explain to me how to do multiline matching? I am trying to
extract three consecutive lines from a datafile containing multiple
records like this:
Name: Bob
City: Austin
State: Texas
Address: 123 Whatever
Age: 46
Name: Jose
City
--As off Wednesday, January 14, 2004 6:22 PM -0700, Jose Malacara is
alleged to have said:
Can someone explain to me how to do multiline matching? I am trying
to extract three consecutive lines from a datafile containing
multiple records like this:
Name: Jose
City: Denver
State: Colorado
Address
nt $&'
Thanks again,
Jose
On Wed, 2004-01-14 at 18:37, Jeff Westman wrote:
> Jose Malacara <[EMAIL PROTECTED]> wrote:
>
> > Can someone explain to me how to do multiline matching? I am
> > trying to extract three consecutive lines from a datafile
> >
On Wed, Jan 14, 2004 at 06:22:58PM -0700, Jose Malacara wrote:
> Can someone explain to me how to do multiline matching? I am trying to extract three
> consecutive lines from a datafile containing multiple records like this:
>
> Name: Bob
> City: Austin
> State: Texas
>
Jose Malacara <[EMAIL PROTECTED]> wrote:
> Can someone explain to me how to do multiline matching? I am
> trying to extract three consecutive lines from a datafile
> containing multiple records like this:
Check out
perldoc perlre
What you should do is look at the
Can someone explain to me how to do multiline matching? I am trying to extract three
consecutive lines from a datafile containing multiple records like this:
Name: Bob
City: Austin
State: Texas
Address: 123 Whatever
Age: 46
Name: Jose
City: Denver
State: Colorado
Address: 118 Mystreet
Age: 28
Mark Sony wrote:
> Hi all,
>
> I am writing a program which will print variety of matches
> having
> keywords like insert,delete etc from another file .For this I
> wrote a couple of sub routines one of which returns an
> array(having the comments removed ).Then I face the problem :
> A part of tha
Hi all,
I am writing a program which will print variety of matches
having
keywords like insert,delete etc from another file .For this I
wrote a couple of sub routines one of which returns an
array(having the comments removed ).Then I face the problem :
A part of that array is :
CURSOR c_efc(l_wo
Reg Smith wrote:
>
> my $prev_abs="..\\obj\\gsm_gp_flash_prev.abs";
> my $abs_file="..\\obj\\gsm_gp_flash.abs";
> my $months='(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)';
>
> # collect the output of NT fc (file compare) command
> $diff_abs = `fc /W $abs_file $prev_abs 2>&1`;
>
> if($diff
rked.
>
>I've also tried using the /s modifier and putting a "." at the end of
>each line to match newlines, but again I can't get it to match.
>
>I suppose I could take the approach of just checking the length of the
>$diff_abs string, it will always be a cons
the length of the
$diff_abs string, it will always be a constant size for files that only
differ by their embedded dates, but I like to know what I'm missing with
the regular expression method. If anyone can see an obvious mistake or
put me straight on my understanding of multiline matching modi
17 matches
Mail list logo