DGLOB(1) Debian-goodies documentation DGLOB(1)
NAME
dglob - Expand package names or files matching a pattern
SYNOPSIS
dglob [-a] pattern
dglob [-0] -f pattern
DESCRIPTION
dglob lists packages names matching a pattern. It can also list all the files they contain. By default dglob only searches installed
packages; the -a switch widens the search (see "OPTIONS"). The list is written to stdout, one name per line.
grep-dctrl(1) and grep-aptavail(1) are used to search the list of packages, so you should refer to its documentation for information on how
patterns are matched. By default, all packages whose name contains the given string will be matched, but several options are available to
modify this behavior (see "OPTIONS").
If you use dglob with the -f option, all files in the matched packages are listed instead of their names. If you do not use de -a switch,
only existing, plain (i.e. no symlinks, directories or other special ones) files are listed. If the -a switch is use then all files will be
listed both for installed and non-installed packages. The filenames are written to stdout, one file per line. You can use the -0 option to
get the filenames separated by '