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}'
DOES NOT WORK:
$ dpkg --get-selections | grep -v deinstall$ | cut -d' ' -f1
$ dpkg --get-selections | grep -v deinstall$ | cut -d\ -f1
Is the problem that there's so *much* whitespace in the dpkg listing?
--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.
--
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/4ba43447.7090...@cox.net