summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/obsolete/list-bugs.sh')
-rwxr-xr-xscripts/obsolete/list-bugs.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/obsolete/list-bugs.sh b/scripts/obsolete/list-bugs.sh
new file mode 100755
index 000000000..273c7bdc8
--- /dev/null
+++ b/scripts/obsolete/list-bugs.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+ebuilds=$(ls *-*/* -d)
+
+#declare -a bugs ebuilds cc
+
+#a=0
+#for i in ${ebuildsin}; do
+# ebuilds[$a]=${i}
+# a=$[ $a+1 ];
+#done
+# second loop
+#a=0
+#for i in ${bugsin}; do
+# bugs[$a]=${i}
+# a=$[ $a+1 ];
+#done
+
+for i in $ebuilds; do
+ bug=$(grep -oE "[0-9]{2}[0-9]+" $i/ChangeLog | tail -n 1)
+ echo $i - bug $bug
+done
+