2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / maintainer-scripts / maintainer-addresses
blobe57f2d50c506dde353bb5c545377995963fcf026
1 #! /usr/bin/perl -w -T
3 # Extract all maintainers' addresses from the GCC MAINTAINERS file, only
4 # skipping those addresses specified in $OMIT.
5 #
6 # Copyright (c) 2003 Free Software Foundation.
8 # Written by Gerald Pfeifer <gerald@pfeifer.com>, June 2003/October 2003
10 # This script is Free Software, and it can be copied, distributed and
11 # modified as defined in the GNU General Public License. A copy of
12 # its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
14 my $OMIT='rms@gnu.org|config-patches@gnu.org';
16 ( @ARGV == 1 && -e $ARGV[0] ) || die "usage: $0 MAINTAINERS";
18 while( <> ) {
19 chomp;
21 if( /([\w\d.+-]+@[\w\d.-]+)/ ) {
22 my $addr=$1;
23 printf $addr."\n" if( not $addr =~ /$OMIT/ );