Package: debian-goodies
Version: 0.53
Severity: wishlist

Presently 'dglob' can search the set of installed packages (call it "I"), 
and the set of all available packages ("A"), but not for the set comprising
'"A" NOT "I"'.  

For users who wish to, here's a shell function to fake it:

    dglob_not() { { dglob "$1" ; dglob -a "$1" ; } | sort | uniq -u ; }

Example:

    % dglob bash
    bash-doc
    bash-completion
    bashdb
    bash

    % dglob -a bash
    bash-static
    bash-minimal
    dotfile-bash
    bash-doc
    bash-builtins
    bash-completion
    bashdb
    bash

    % dglob_not bash
    bash-builtins
    bash-minimal
    bash-static
    dotfile-bash

A switch for 'dglob', say '-n' or '--not', that does what that function
does would be swell.

Hope this helps...



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-goodies depends on:
ii  curl                      7.21.1-1       Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dctrl]  2.14.1         Command-line tools to process Debi
ii  dialog                    1.1-20100428-1 Displays user-friendly dialog boxe
ii  less                      436-1          pager program similar to more
ii  lsof                      4.81.dfsg.1-1  List open files
ii  perl                      5.10.1-14      Larry Wall's Practical Extraction 
ii  python                    2.5.4-9        An interactive high-level object-o
ii  whiptail                  0.52.11-1      Displays user-friendly dialog boxe

debian-goodies recommends no packages.

Versions of packages debian-goodies suggests:
ii  popularity-contest   1.48                Vote for your favourite packages a
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from
ii  zenity               2.30.0-1            Display graphical dialog boxes fro

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to