Browse Source

allmaintainers.sh: print a flat list of all maintainers of a directory (including sub-directories)

Solomon Hykes 12 years ago
parent
commit
286ce266b4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      hack/allmaintainers.sh

+ 3 - 0
hack/allmaintainers.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+find $1 -name MAINTAINERS -exec cat {} ';' | sed -E -e 's/^[^:]*: *(.*)$/\1/' | grep -E -v -e '^ *$' -e '^ *#.*$' | sort -u