summaryrefslogtreecommitdiff
path: root/pkgtools/pkgsrc-todo/files/list_todo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkgsrc-todo/files/list_todo.sh')
-rwxr-xr-xpkgtools/pkgsrc-todo/files/list_todo.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgtools/pkgsrc-todo/files/list_todo.sh b/pkgtools/pkgsrc-todo/files/list_todo.sh
new file mode 100755
index 00000000000..4c1969f2399
--- /dev/null
+++ b/pkgtools/pkgsrc-todo/files/list_todo.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+@PKG_INFO@ | \
+ @SED@ -e "s/[ ].*//" -e "s/-[^-]*$//" \
+ -e "s/py[0-9][0-9]-/py-/" | \
+ while read a
+ do
+ b=$(grep "o $a-[0-9]" @PKGSRCDIR@/doc/TODO | \
+ @SED@ -e "s/[ ]*o //")
+ if [ "$b" ]
+ then
+ echo $a: $b
+ fi
+ done