Re: Help on comparing matching two arrays

2002-05-21 Thread John W. Krahn
Kenny Madsen wrote: > > I define two arrays - one is an active changing file ( @unix = ps -ef ) and > need to compare it to a static text file @static = `cat myfile`. > > Would someone help me on the syntax of greping for @static matches in the > @unix array. > > For example > > #!/usr/bin/pe

Re: Help on comparing matching two arrays

2002-05-21 Thread Felix Geerinckx
on Tue, 21 May 2002 15:17:38 GMT, [EMAIL PROTECTED] (Kenny Madsen) wrote: > I define two arrays - one is an active changing file ( @unix = ps > -ef ) and need to compare it to a static text file @static = `cat > myfile`. > > Would someone help me on the syntax of greping for @static matches

Re: Help on comparing matching two arrays

2002-05-21 Thread Tor Hildrum
> I define two arrays - one is an active changing file ( @unix = ps -ef ) and > need to compare it to a static text file @static = `cat myfile`. > > Would someone help me on the syntax of greping for @static matches in the > @unix array. > I am not sure if I need to assign a variable, for loo