Re: a simple pattern matching quesn

2002-11-12 Thread Paul
--- PRADEEP GOEL <[EMAIL PROTECTED]> wrote: > i have a file(say f1) containing patch names > pach_2377 > pach_2676 > pach_3897 > I want to check if there are(is) patch _id(s) which r greater than > given patch_id > (say : pach_2579) > pls tell me how to do that in perl > i.e. > while () {

Re: a simple pattern matching quesn

2002-11-12 Thread John W . Krahn
On Tuesday 12 November 2002 01:00, PRADEEP GOEL wrote: Content-Type: Multipart/Alternative; name="Attachment: 0" Content-Transfer-Encoding: 7bit Content-Description: Content

Re: a simple pattern matching quesn

2002-11-12 Thread Tanton Gibbs
Sent: Tuesday, November 12, 2002 4:00 AM Subject: a simple pattern matching quesn i have a file(say f1) containing patch names pach_2377 pach_2676 pach_3897 I want to check if there are(is)  patch _id(s)  which r greater th

a simple pattern matching quesn

2002-11-12 Thread PRADEEP GOEL
i have a file(say f1) containing patch names pach_2377 pach_2676 pach_3897 I want to check if there are(is)  patch _id(s)  which r greater than given patch_id (say  :  pach_2579)  pls tell me how to do that in perl i.e.  while () {  $ch = $_;  if ($given_patchid  gt $ch )    ## pls tell