> True. But I currently don't see the actual benefit in parsing
> 'apt-cache dump' instead of reading 'sources.list'. Are there any
> regular uses that would justify such an expensive action?
Both
deb http://http.us.debian.org/debian/ stable main
and
deb http://http.us.debian.org/debian/ sarge
> +function _aptitude_release() {
> + #{{{
> + local expl releases
> + releases=(
> +${${(M)${(f)"$( +:#[ $'\t']#deb(|-src)*}/(#b)[ $'\t']#[^ $'\t']##[ $'\t']##[^ $'\t']##[
> $'\t']##([^ $'\t']##)*/$match[1]}
> + )
> + _wanted list expl release compadd ${expl} - ${(u)releases}
> + #}}}
> +}
Clint Adams <[EMAIL PROTECTED]>:
> > +function _aptitude_release() {
> > + #{{{
> > + local expl releases
> > + releases=(
> > +${${(M)${(f)"$( > +:#[ $'\t']#deb(|-src)*}/(#b)[ $'\t']#[^ $'\t']##[ $'\t']##[^ $'\t']##[
> > $'\t']##([^ $'\t']##)*/$match[1]}
> > + )
> > + _wanted list expl relea
3 matches
Mail list logo