The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Assistance needed with perl script
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Assistance needed with perl script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-17-2009
jambesh
Registered User
Join Date: Aug 2006
Location: Pune,India
Posts: 137
Try the
perl
script : -
==================
#!/usr/bin/
perl
open(FH,"log_fantastic") or dir ("Couldnt open file");
while(<FH>)
{
$rec=$_;
chomp ($rec);
@arr=split(/:/,$rec);
print $rec,"\n" if ($arr[5]!~/10/);
}
close(FH);
jambesh
View Public Profile
Find all posts by jambesh
Find jambesh's past nominations received
Find jambesh's present nominations given