Le Sun, Oct 09, 2016 at 06:44:29PM +0200, Joost van Baal-Ilić a écrit :
>
> Who exactly maintains how many r-cran, r-bioc and r-other packages currently
> in
> testing/stretch:
>
> joostvb@banach:~% for p in \
> $( apt-cache search --names-only 'r-cran-|r-bioc-|r-other-' | cut -d' ' -f1
> ); \
> do echo -n "$p "; apt-cache show $p | grep Maintainer; done | \
> cut -d' ' -f3- | cut -d\< -f2 | sed 's/^/</' | sort | uniq -c | sort -n
Hi Joost and everybody,
I have not found time to play with the new dh command, and perhaps I will not
manage before November, but in the meantime I can not help making this small
side comment: you can simplify your oneliner above by using the powerful
`grep-aptavail` command from the `dctrl-tools` package.
$ grep-aptavail -e -P 'r-cran|r-bioc|r-other' -s 'Maintainer' |
cut -d' ' -f3- | cut -d\< -f2 | sed 's/^/</' | sort | uniq -c | sort -n
1 <[email protected]>
1 <[email protected]>
1 <[email protected]>
2 <[email protected]>
11 <[email protected]>
19 <[email protected]>
88 <[email protected]>
129 <[email protected]>
192 <[email protected]>
(Super tiny bonus nitpick: no need to escape the newline character if ending a
shell line with a pipe.)
Have a nice day,
Charles
--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan