I'd be tempted to use diff. Try either man diff or info diff to learn how best to use it. DaveG
> >Message: 1 > >Date: Sun, 04 May 2014 13:28:32 +0100 > >From: Mark Fraser <[email protected]> > >To: [email protected] > >Subject: [ubuntu-uk] Comparing installed packages > >Message-ID: <1557956.Qkuynz4i5L@rachael> > >Content-Type: text/plain; charset="us-ascii" > > >I've got 4 computers here that I would like to compare the installed > >packages > >on each one together. I've done dpkg --get-selection > installed.txt on > >each > >computer, but now I'm trying to merge each one into a single file and > >leave a > >space where a package isn't installed. > > >Instead of: > >Acpi-support acpi-support Acpi-support acpi-support > >adduser acroread adduser > adduser > >Adobereader-enu acroread-bin adobereader-enu adobereader-enu > > > > > >I'd like: > >Acpi-support acpi-support Acpi-support acpi-support > > acroread > > acroread-bin > >adduser adduser > >adduser > >Adobereader-enu adobereader-enu > adobereader->enu > > >Any ideas how to achieve this? > >
-- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
