Re: parsing exact date/line on a certain file.

2001-11-30 Thread Curtis Poe
--- louie miranda <[EMAIL PROTECTED]> wrote: > Hi, im really clueless.. > > #!/usr/bin/perl > > $logfile = '/etc/services'; > $date = 'date'; > > open(INFO, $logfile); > @lines = ; > close(INFO); > print @lines; > > All i have is this line of code.. > what i want to make is, > > ex: > the per

parsing exact date/line on a certain file.

2001-11-30 Thread louie miranda
Hi, im really clueless.. #!/usr/bin/perl $logfile = '/etc/services'; $date = 'date'; open(INFO, $logfile); @lines = ; close(INFO); print @lines; All i have is this line of code.. what i want to make is, ex: the perl script will parse a file and match the cur date. how can i do that? any h