chiark / gitweb /
tiocnotty: use with statement
[bin.git] / find-package
1 #! /bin/sh
2 MIRRORS='/mirror/debian /mirror/debian/non-US'
3 for x in $MIRRORS; do
4     zcat `find "$x/dists" -name Packages.gz` \
5         | grep-dctrl -nsFilename -PX $2 | sed -e "s,^,$x/,"
6 done