From c54a833668943fc6813d950dac841cdffdfbc176 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Tue, 27 Aug 2013 15:50:23 +0200 Subject: [PATCH] Tweaks. --- openup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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