[geeks] Programming question.

Brian Hechinger wonko at arkham.ws
Mon Apr 1 20:13:51 CST 2002


On Mon, Apr 01, 2002 at 08:22:00PM -0600, Bill Bradford wrote:
> 
> Yes, but grep -v gives you EVERYTHING in the file that doesent
> match $blah; so you're going to get multiple copies of stuff in fileB
> from the output of:

D'Oh!  didn't think of that.  oh well, so much for the quick and easy solution.

> Must be a way in Perl to compare the two arrays (once I read the
> files into said arrays).  Hrm.

should be fairly painless to write a loop to walk the arrays.

-brian
-- 
"Oh, shut up Buddha."  -Jesus Christ (South Park)



More information about the geeks mailing list