wcj75019 has asked for the wisdom of the Perl Monks concerning the following question:
Thanks#!/usr/bin/perl -w use strict; open CF_FILES, "cf.files" or die "Error: $!"; my @cf_files=<CF_FILES>; close CF_FILES; foreach my $cf(@cf_files){ open CF, $cf my @AR =<CF>; my @L = grep( /bgs/, @AR); print @L; } ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep question
by runrig (Abbot) on Feb 20, 2008 at 23:24 UTC | |
|
Re: grep question
by CountZero (Bishop) on Feb 21, 2008 at 07:06 UTC | |
by wcj75019 (Acolyte) on Feb 21, 2008 at 16:16 UTC |