fi
if [ -z "${LISTPORTS}" ]; then
[ -n "${LISTPKGS}" ] &&
grep -h -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${LISTPKGS}
grep -h -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${LISTPKGS} | sed -e 's/[[:space:]]*#.*$//'
else
echo ${LISTPORTS} | tr ' ' '\n'