3 # show the installed version for each package if no arguments are given, all
4 # installed packages are displayed.
9 while getopts :R:CNXf:d:Dt:T:u:g: opt; do
11 R) pkgroot="$OPTARG" ;;
18 for cf in /etc/zpmrc ~/.zpmrc ./.zpmrc; do
22 : ${ZPMDB:=/var/lib/zpm/db.zpm}
27 printf 'zpm-installed:' 1>&2
40 printf '.separator "\\t"\n'
41 printf 'select package,version,release from packages\n'
43 printf 'where package in\n('