[Secure-testing-commits] r18540 - check-external

Raphael Geissert geissert at alioth.debian.org
Sat Feb 25 05:51:11 UTC 2012


Author: geissert
Date: 2012-02-25 05:51:11 +0000 (Sat, 25 Feb 2012)
New Revision: 18540

Modified:
   check-external/update.sh
Log:
Correctly handle CVE ids in descriptions


Modified: check-external/update.sh
===================================================================
--- check-external/update.sh	2012-02-24 23:30:50 UTC (rev 18539)
+++ check-external/update.sh	2012-02-25 05:51:11 UTC (rev 18540)
@@ -29,7 +29,7 @@
 for year in $(seq 1999 $(date +%Y)); do
     wget -N https://www.redhat.com/security/data/cve/cve-$year.html
 done
-sed -rn '/CVE-[12][0-9]{3}-/{s/^.+>(CVE-[12][0-9]{3}-[0-9]{4})<.+$/\1/;p}' cve-*.html |
+sed -rn '/CVE-[12][0-9]{3}-/{s/^.+>(CVE-[12][0-9]{3}-[0-9]{4})<.+$/\1/;T;p}' cve-*.html |
     sort > cve.list
 
 




More information about the Secure-testing-commits mailing list