[NTLUG:Discuss] comparing lists

bobby@wrennest.com bobby at wrennest.com
Mon May 22 17:33:11 CDT 2000


The command returns the following:

bash: command substitution: line 2: syntax error

I did enter it as one line.

Kyle_Davenport at compusa.com wrote:
> 
> for i in `rpm -qa|sed 's/-[0-9].*//`;do grep $i update.list ; done >
> rpm's2update.list
> 
> bobby at wrennest.com on 05/22/2000 04:15:08 PM
> 
> Please respond to discuss at ntlug.org
> 
> To:   "discuss at ntlug.org" <discuss at ntlug.org>
> cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
> Subject:  [NTLUG:Discuss] comparing lists
> 
> I have a list of installed rpm's RH6.1 and a list of updated rpm's.
> 
> How can I get a list of files in the update list which are also in the
> installed list?
> 
> I'm sure there is an easy way to do it. I'm just ignorant.
> 
> Thanks
> Bobby
> --
> This tagline is identical to the one you are reading.
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss

-- 
This tagline is identical to the one you are reading.




More information about the Discuss mailing list