Hi!

On Tue, 2014-09-23 at 23:36:24 +0200, Jakub Wilk wrote:
> Package: dpkg-dev
> Version: 1.17.13
> Severity: wishlist
> 
> I'd love if dpkg-architecture had an option to print all valid architectures
> that match the provided wildcard. For example, something like this:
> 
> $ dpkg-architecture -L -iany-i386
> uclibc-linux-i386
> musl-linux-i386
> lpia
> i386
> kfreebsd-i386
> knetbsd-i386
> kopensolaris-i386
> hurd-i386
> darwin-i386
> dragonflybsd-i386
> freebsd-i386
> netbsd-i386
> openbsd-i386
> solaris-i386
> uclinux-i386

Yeah, makes sense, as the equivalent shell construct is quite slow:

  $ time dpkg-architecture -L | while read arch; do \
      dpkg-architecture -a$arch -iany-i386 && echo $arch; done
  real    0m17.805s
  user    0m15.768s
  sys     0m1.232s

I'll be adding something like this for 1.17.14 or 1.17.15.

Thanks,
Guillem


-- 
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