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 (<f1>)
{
$ch = $_;
if ($given_patchid gt $ch ) ###### pls tell me how to exactly do it < do some action>
}
### should i extract last digits - then to extract them ?
u can also write me how to sort & store the result in a file |