scripts/get_maintainer.pl: better email routines, use perl not shell where possible
authorJoe Perches <joe@perches.com>
Tue, 22 Sep 2009 00:04:20 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:46 +0000 (07:17 -0700)
commit0e70e83dfd40cac47e1fc3e2f1c7b893ea0cd2f8
tree119b588cff1fb709402dd88be1204e5b7795c70e
parent3fb55652b9f754990e286723f209ce3c07c96d69
scripts/get_maintainer.pl: better email routines, use perl not shell where possible

Added format_email and parse_email routines to reduce inline use.

Added email_address_inuse to eliminate multiple maintainer entries
for the same email address, the first name encountered is used.

Used internal perl equivalents of shell cmd use of grep|cut|sort|uniq

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl