diff options
Diffstat (limited to 'pkgtools/pkgsrc-todo/files/list_todo.sh')
-rwxr-xr-x | pkgtools/pkgsrc-todo/files/list_todo.sh | 13 |
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 |