diff --git a/openup b/openup index 1c08e74..5efa4c2 100755 --- a/openup +++ b/openup @@ -192,10 +192,10 @@ check_vuxml() { awk "/${p}<\/name>/,/<\/vuln>/" ${_TMPVUXML} | \ sed '/<\/vuln>/,$d' | \ sed -n -e 's/.*\(.*\)<\/lt><\/range>.*/\1/p' \ - -e 's/.*

\(.*\)<\/p>.*/\1/p' | uniq |\ + -e 's/.*

\(.*\)<\/p>.*/\1/p' | uniq | \ while read l; do echo -n "${l} "; done echo "\n" - done | fmt | sed '/^$/d' | uniq -u + done | fmt | sed '/^$/d' } while getopts 'SUcn' arg; do