Concerning your task, aptitude comes in handy
aptitude -F '%p' search '!~aremove~i'
--
Best regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ho
On 2010-03-19 22:49, der.hans wrote:
Am 19. Mär, 2010 schwätzte Ron Johnson so:
Googled and followed examples, which work, but my specific problem
doesn't work...
WORKS:
$ service="http mail ssh"
$ echo $service | cut -d\ -f2
mail
$ echo $service | cut -d' ' -f2
mail
dpkg --get-selections |
Although this does not answer your question, here is how to shorten the command
pipe by taking advantage of awk capabilities:
dpkg --get-selections | awk '!/deinstall$/ {print $1}'
--
Best regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject o
On Fri, Mar 19, 2010 at 09:34:47PM -0500, Ron Johnson wrote:
> Googled and followed examples, which work, but my specific problem
> doesn't work...
>
> WORKS:
> $ service="http mail ssh"
> $ echo $service | cut -d\ -f2
> mail
> $ echo $service | cut -d' ' -f2
> mail
> dpkg --get-selections | gre
Am 19. Mär, 2010 schwätzte Ron Johnson so:
Googled and followed examples, which work, but my specific problem doesn't
work...
WORKS:
$ service="http mail ssh"
$ echo $service | cut -d\ -f2
mail
$ echo $service | cut -d' ' -f2
mail
dpkg --get-selections | grep -v deinstall$ | awk '{print $1}'
On 2010-03-19 21:54, Mike Viau wrote:
Fri, 19 Mar 2010 21:34:47 -0500 wrote:
Googled and followed examples, which work, but my specific problem
doesn't work...
WORKS:
$ service="http mail ssh"
$ echo $service | cut -d\ -f2
mail
$ echo $service | cut -d' ' -f2
mail
dpkg --get-selections | gre
Fri, 19 Mar 2010 21:34:47 -0500 wrote:
> Googled and followed examples, which work, but my specific problem
> doesn't work...
>
> WORKS:
> $ service="http mail ssh"
> $ echo $service | cut -d\ -f2
> mail
> $ echo $service | cut -d' ' -f2
> mail
> dpkg --get-selections | grep -v deinstall$
7 matches
Mail list logo