fix: Jannet info output lots of spaces or tabs at the end of the lines

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-09-11 17:35:37 +00:00
commit 1676406f22

View file

@ -77,7 +77,7 @@ list_all_packages()
{
rpm -qa --queryformat '%{NAME}: %{VENDOR}\n' | \
grep -i '^[^ ]\+:.*\(jannet\|c-mexx\)' | \
sed 's/\(^[^ ]\+\) *:.*/\1/' |\
sed 's/\(^[^ ]\+\) *:.*/\1/; s/[ ]*$//' |\
sort -u
}