3
# Author: Kees Cook <kees@ubuntu.com>
4
# Copyright (C) 2005-2008 Canonical Ltd.
6
# This script is distributed under the terms and conditions of the GNU General
7
# Public License, Version 2 or later. See http://www.gnu.org/copyleft/gpl.html
10
# Reports a terse numeric of CVEs that need attention for supported packages.
12
TABLE=$(./scripts/ubuntu-table -s "$@")
13
for category in SUPPORTED
15
if [ "x$category" = "xuniverse" ]; then
16
filter="-v '(SUPPORTED|PARTNER)'"
21
for prio in critical high medium low
23
COUNT=$(echo "$TABLE" | grep $filter | grep ' '"$prio"'$' | wc -l)
26
if [ -n "$OUT" ]; then
27
COUNT=$(echo "$TABLE" | grep $filter | cut -d" " -f2 | cut -d: -f1 | sort -u | wc -l)
28
fmtcat=`echo $category | tr [A-Z] [a-z]`