1
0
Fork 0
forked from mirrors/openup
This commit is contained in:
Antoine Jacoutot 2013-08-27 15:50:23 +02:00
commit c54a833668

4
openup
View file

@ -192,10 +192,10 @@ check_vuxml() {
awk "/<name>${p}<\/name>/,/<\/vuln>/" ${_TMPVUXML} | \
sed '/<\/vuln>/,$d' | \
sed -n -e 's/.*<range><lt>\(.*\)<\/lt><\/range>.*/\1/p' \
-e 's/.*<p>\(.*\)<\/p>.*/\1/p' | uniq |\
-e 's/.*<p>\(.*\)<\/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