[Dctrl-tools-devel] Bug#511233: Bug#511233: Idiom to specify parts of the archive to grep-dctrl against

Adeodato Simó dato at net.com.org.es
Wed Jan 14 08:59:16 UTC 2009

* Antti-Juhani Kaijanaho [Sat, 10 Jan 2009 18:47:59 +0200]:

> On Thu, Jan 08, 2009 at 06:56:49PM +0100, Adeodato Simó wrote:
> > for my line of work (heh) I regularly have to run grep-dctrl against the
> > Packages/Sources files for a combination of arches and suites. Since
> > I've always found specifying the paths to those files a pain, I've been
> > a long-time user of a small wrapper script [1] that concisely takes
> > SUITE(S):COMPONENT(S):ARCH(ES) as its first argument, and pipes the
> > appropriate files to grep-dctrl.

> I agree that that would be useful.  I do prefer to avoid too much Debian
> specific code in the programs proper, as opposed to config files, but that does
> not need to be a problem.

Nice. Do you, in particular, think dctrl-tools will gain support for
"using directly apt's files [/var/lib/apt/lists] if a mirror is not
available"? I'm very interested in that feature, because grepping
against a particular suite or suites is better than unconditionally
grepping against whatever archives there may be in sources.lists.


Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
                               Listening to: Alanis Morissette - So pure

More information about the Dctrl-tools-devel mailing list