#!/bin/bash

# filename: kss-rpm-query
#
# basic usage: kss-rpm-query | tee rpm-list

while IFS= read -r line
do
        if [[ -f "$line" ]]; then
                echo "$line"
        fi
done  < <(rpm -qla)
