On Fri, Sep 11, 2009 at 07:31:50 -0500, Ron Johnson wrote: > On 2009-09-11 06:59, Florian Kulzer wrote: > >On Fri, Sep 11, 2009 at 06:48:46 -0500, Ron Johnson wrote: > >>On 2009-09-11 02:39, Chris Davies wrote: > >>>Ron Johnson wrote: > >>>>Try this, as a start: > >>>>$ aptitude search postgresql | grep ^postgresql | sort > >>>On my version of aptitude (0.4.11.11) that can't possibly work. (Remove > >>>the ^ and it might.) > >>> > >>???? > >> > >>What does aptitude have to do with grep? > > > >Lines do not start with the package name for the standard output format > >of aptitude search results. > > > > Oh. > > Well.... they should!!! > > ;)
Well, they do if you ask aptitude nicely ;) aptitude -F%p search '~n^postgresql' (I am taking the opportunity to advertise the "-F" option a bit because it does not seem to be as widely known as it deserves to be.) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org